본문으로 건너뛰기
cccskills
무료GitHub에 공개

find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatch

Find and patch the water jump velocity inside CCSPlayer_MovementServices_CheckJumpButton in CS2 binary using IDA Pro MCP. This patch changes the water jump velocity from 100.0f to 145.0f by modifying the immediate operand of a mov instruction. Use this skill when reverse engineering CS2 server.dll or libserver.so to locate and patch the water jump height value. Trigger: water jump patch, CheckJumpButton water velocity, jump height patch, water jump 145

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

CCSPlayer_MovementServices_CheckJumpButton_WaterPatch

Overview

Locate the water jump velocity assignment inside CCSPlayer_MovementServices_CheckJumpButton and generate a patch that changes the immediate value from 100.0f (0x42C80000) to 145.0f (0x43110000).

The target code pattern in pseudocode:

if ( v5 == (int *)0x8000 )    // move type check for water
{
    *(_DWORD *)(a2 + 64) = 1120403456;  // <-- patch target: 100.0f -> 145.0f
}

In assembly, this is a mov dword ptr [reg+40h], 42C80000h instruction. The patch changes the immediate operand from 42C80000h (100.0f) to 43110000h (145.0f).

Prerequisites

  • CCSPlayer_MovementServices_CheckJumpButton must already be identified. Use SKILL /get-func-from-yaml with func_name=CCSPlayer_MovementServices_CheckJumpButton to load its address. If YAML does not exist, run SKILL /find-CCSPlayer_MovementServices_CheckJumpButton first.

Location Steps

1. Get CheckJumpButton Function Address

ALWAYS Use SKILL /get-func-from-yaml with func_name=CCSPlayer_MovementServices_CheckJumpButton.

If the skill returns an error, stop and report to user.

2. Decompile and Locate the Water Jump Pattern

Decompile the function:

mcp__ida-pro-mcp__decompile(addr="<func_va>")

In the decompiled output, search for the water jump velocity pattern. The key indicators are:

  • A comparison against 0x8000 (water move type)
  • Inside the if-block: *(_DWORD *)(a2 + 64) = 1120403456 (which is 100.0f as IEEE 754)
  • Note: 1120403456 decimal = 0x42C80000 = 100.0f in IEEE 754 floating point

Note the address annotation on the assignment line.

3. Disassemble Around the Assignment

Disassemble the function around the annotated address to find the exact mov instruction:

mcp__ida-pro-mcp__disasm(addr="<func_va>", offset=<estimated_offset>, max_instructions=20)

Look for this assembly pattern:

cmp     rax, 8000h              ; check water move type
jnz     short loc_XXXXXXXX      ; skip if not water
mov     dword ptr [rsi+40h], 42C80000h  ; <-- patch target: 100.0f

Record:

  • patch_va: Address of the mov dword ptr [reg+40h], 42C80000h instruction

4. Determine Patch Bytes

Read the original bytes of the mov instruction:

mcp__ida-pro-mcp__get_bytes(regions={"addr": "<patch_va>", "size": 7})

The original 7-byte instruction: C7 46 40 00 00 C8 42

  • C7 46 40 = opcode + ModR/M for mov dword ptr [rsi+40h]
  • 00 00 C8 42 = immediate 0x42C80000 (100.0f, little-endian)

Patch bytes: C7 46 40 00 00 11 43

  • Same opcode + ModR/M
  • 00 00 11 43 = immediate 0x43110000 (145.0f, little-endian)

5. Generate Patch Signature

ALWAYS Use SKILL /generate-signature-for-patch to generate and validate the signature.

Required context for the skill:

  • func_name: CCSPlayer_MovementServices_CheckJumpButton
  • func_va: From step 1
  • patch_va: Address of the mov instruction from step 3
  • original_instruction: mov dword ptr [rsi+40h], 42C80000h
  • patched_instruction: mov dword ptr [rsi+40h], 43110000h
  • description: Change water jump velocity from 100.0f to 145.0f in CheckJumpButton

6. Write YAML Output

ALWAYS Use SKILL /write-patch-as-yaml to persist the results.

Required parameters:

  • patch_name: CCSPlayer_MovementServices_CheckJumpButton_WaterPatch
  • patch_sig: The validated signature from step 5
  • patch_bytes: C7 46 40 00 00 11 43
  • patch_sig_disp: From step 5 result (omit if 0)

IEEE 754 Float Reference

  • 100.0f = 0x42C80000 = 1120403456 decimal
  • 145.0f = 0x43110000 = 1125187584 decimal

Output YAML Files

  • CCSPlayer_MovementServices_CheckJumpButton_WaterPatch.windows.yaml
  • CCSPlayer_MovementServices_CheckJumpButton_WaterPatch.linux.yaml

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Clean up the local workspace after a dev branch has been merged into main. Verifies the current dev branch is fully merged into origin/main, then switches to main, pulls the latest, deletes the local dev branch, and deletes the remote dev branch if it still exists. STOPS and warns the user if the current branch is not yet merged. Triggers: cleanup workspace, cleanup branch, delete merged branch, finish dev branch, post-merge cleanup

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

Convert an existing find-XXXX SKILL.md into a preprocessor Python script, updating configs/<GAMEVER>.yaml and removing the old SKILL.md. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

Create an Agent SKILL.md fallback for an existing find-XXXX finder that relies on a fragile discovery foundation — above all LLM_DECOMPILE (patterns C/D/E), which matches the decompiled shape of a predecessor function against a stored reference and breaks when a symbol is inlined or de-inlined in a way the reference does not cover. The generated fallback coexists with the preprocessor and runs only when it returns failure, recovering every target robustly by decompiling the predecessor and following the inline/de-inline boundary with semantic anchors. Use when a finder broke on a game update, or you want to durably backstop one before it does. The recipe generalizes to any finder foundation. Triggers: create agent skill fallback, add SKILL.md fallback, robust fallback for finder, backstop LLM_DECOMPILE finder, final guarantee skill

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

Create a new cpp_tests entry for validating a C++ interface vtable layout against binary reference YAMLs. Creates the .cpp test file in cpp_tests/ and appends a configs/<GAMEVER>.yaml entry under cpp_tests:. Use when a user asks to add vtable layout validation for a new hl2sdk_cs2 interface class.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

create-pr

무료

Create a GitHub pull request from staged task changes or an already-committed current branch. Deliver source/config/ reference changes together with their computed source-owned `bin_artifacts` closure. PR validation routing is owned by the default-branch trusted workflow; snapshots, gamedata, and manifests are Release-derived only.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

Create a new find-XXXX preprocessor Python script from scratch (no existing SKILL.md), add configs/<GAMEVER>.yaml skill and symbol entries. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns. Use when a GitHub issue or user instruction specifies a new function to find.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mrc4tt/CS2_VibeSignatures32026년 10월 15일 업데이트

mrc4tt의 스킬 모두 보기

이 스킬의 문제 신고