{"type": "func", "start": 4301234368, "end": 4301234431, "name": "GhostTrailEffect::stopTrail", "pseudocode": "// \n// GhostTrailEffect::stopTrail from 0x1005fa0c0 to 0x1005fa0ff (63 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::toggleGhostEffect @ 0x10041324c\n// > GhostTrailEffect::runWithTarget @ 0x1005f9c33\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GhostTrailEffect::stopTrail(GhostTrailEffect *a1)\n{\n  void (__fastcall ***m_delegate)(void *, GhostTrailEffect *); // rdi\n\n  m_delegate = (void (__fastcall ***)(void *, GhostTrailEffect *))a1->m_delegate;\n  if ( m_delegate )\n    (**m_delegate)(m_delegate, a1);\n  cocos2d::CCNode::unscheduleAllSelectors(a1);\n  cocos2d::CCNode::stopAllActions(a1);\n  ((void (__fastcall *)(GhostTrailEffect *))a1->removeMeAndCleanup)(a1);\n}", "assembly": "; \n; GhostTrailEffect::stopTrail from 0x1005fa0c0 to 0x1005fa0ff (63 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::toggleGhostEffect @ 0x10041324c\n; > GhostTrailEffect::runWithTarget @ 0x1005f9c33\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1005fa0c0\nmov     rbp, rsp                                                       ; +0x1, 0x1005fa0c1\npush    rbx                                                            ; +0x4, 0x1005fa0c4\npush    rax                                                            ; +0x5, 0x1005fa0c5\nmov     rbx, rdi                                                       ; +0x6, 0x1005fa0c6\nmov     rdi, [rdi+178h]                                                ; +0x9, 0x1005fa0c9\ntest    rdi, rdi                                                       ; +0x10, 0x1005fa0d0\njz      short loc_1005FA0DD                                            ; +0x13, 0x1005fa0d3\nmov     rax, [rdi]                                                     ; +0x15, 0x1005fa0d5\nmov     rsi, rbx                                                       ; +0x18, 0x1005fa0d8\ncall    qword ptr [rax]                                                ; +0x1b, 0x1005fa0db\nmov     rdi, rbx                                                       ; +0x1d, 0x1005fa0dd\ncall    cocos2d__CCNode__unscheduleAllSelectors                        ; +0x20, 0x1005fa0e0\nmov     rdi, rbx                                                       ; +0x25, 0x1005fa0e5\ncall    cocos2d__CCNode__stopAllActions                                ; +0x28, 0x1005fa0e8\nmov     rax, [rbx]                                                     ; +0x2d, 0x1005fa0ed\nmov     rdi, rbx                                                       ; +0x30, 0x1005fa0f0\nadd     rsp, 8                                                         ; +0x33, 0x1005fa0f3\npop     rbx                                                            ; +0x37, 0x1005fa0f7\npop     rbp                                                            ; +0x38, 0x1005fa0f8\njmp     qword ptr [rax+208h]                                           ; +0x39, 0x1005fa0f9", "xrefs": ["PlayerObject::toggleGhostEffect @ 0x10041324c", "GhostTrailEffect::runWithTarget @ 0x1005f9c33"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}