ワンクリックで
find-function
Locate a function by its behavior, string references, RTTI, or hardware breakpoints
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Locate a function by its behavior, string references, RTTI, or hardware breakpoints
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Full analysis of a single function — disassemble, identify args, find string refs, callers/callees, RTTI, generate signature, label in GUI
Fully analyze a C++ virtual function table — detect params, find string refs, measure sizes, and label all entries
Detect function parameters from prologue and register usage — infer types, count, and calling convention
Discover a C++ class by name via RTTI — map its vtable, disassemble key virtual functions, explore inheritance hierarchy, and label everything
Find all functions that call a given function address — shows argument setup, string refs, and containing function names
Compare a function between sessions — generate a signature, find it after binary update, compare disassembly, report changes
| name | find-function |
| description | Locate a function by its behavior, string references, RTTI, or hardware breakpoints |
Locate a function in the target process by its behavior or string references.
description (required): Natural language description of the function to find (e.g., "the function that handles player damage", "where the chat message is processed")module (optional): Module to search in (narrows the search)Identify search strategy based on the description:
String-based search (most common path):
a. Think about what strings the function might reference (error messages, log output, format strings, UI text)
b. Call probe_pattern_scan or probe_find_value (experimental) with type "string" to find the string in the module's data section
c. Note the string's address
d. Search for LEA instructions that reference the string address:
48 8D ?? ?? ?? ?? ?? (LEA reg, [rip+disp32]) or 4C 8D ?? ?? ?? ?? ??
e. For each reference found, disassemble the surrounding code with probe_disassemble
f. Walk backwards to find the function prologue (push rbp / sub rsp pattern)RTTI-based search (for known class methods):
a. Pattern scan for the class name string .?AV<ClassName>@@
b. Find the TypeDescriptor, then the Complete Object Locator, then the vtable
c. Dump the vtable to enumerate virtual functions
d. Disassemble each vtable entry to find the target method
Behavior-based search (for data-touching functions):
a. Identify what memory address the function reads or writes
b. Set a hardware breakpoint on that address: probe_hwbp_set with type "w" or "rw"
c. Trigger the behavior in the application
d. Read the breakpoint registers to get the RIP of the writing instruction
e. Disassemble the function containing that instruction
Validate the result:
a. Disassemble the full function with probe_disassemble_function
b. Check that it references the expected strings, calls expected APIs, or touches expected data
c. Generate a signature with probe_generate_signature for future reference
d. Test the signature with probe_test_signature to confirm it's unique
Report:
Function: <description>
Address: 0x7FF612345678
Module: target.dll + 0x5678
Size: ~0x1A0 bytes
Signature: 48 89 5C 24 08 57 48 83 EC 20 48 8B D9 E8 ?? ?? ?? ??
References: "error message string" at +0x42
Calls: SubFunction at 0x7FF612346000