{"type": "func", "start": 4298069560, "end": 4298069640, "name": "GhostTrailEffect::stopTrail", "pseudocode": "// \n// GhostTrailEffect::stopTrail from 0x1002f5638 to 0x1002f5688 (80 bytes)\n// \n// 2 xrefs:\n// > PlayerObject::toggleGhostEffect @ 0x100227520\n// > GhostTrailEffect::runWithTarget @ 0x1002f51f0\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 *); // x0\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 0x1002f5638 to 0x1002f5688 (80 bytes)\n; \n; 2 xrefs:\n; > PlayerObject::toggleGhostEffect @ 0x100227520\n; > GhostTrailEffect::runWithTarget @ 0x1002f51f0\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f5638\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f563c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f5640\nMOV             X19, X0                                                ; +0xc, 0x1002f5644\nLDR             X0, [X0,#0x178]                                        ; +0x10, 0x1002f5648\nCBZ             X0, loc_1002F5660                                      ; +0x14, 0x1002f564c\nLDR             X8, [X0]                                               ; +0x18, 0x1002f5650\nLDR             X8, [X8]                                               ; +0x1c, 0x1002f5654\nMOV             X1, X19                                                ; +0x20, 0x1002f5658\nBLR             X8                                                     ; +0x24, 0x1002f565c\nMOV             X0, X19                                                ; +0x28, 0x1002f5660\nBL              cocos2d__CCNode__unscheduleAllSelectors                ; +0x2c, 0x1002f5664\nMOV             X0, X19                                                ; +0x30, 0x1002f5668\nBL              cocos2d__CCNode__stopAllActions                        ; +0x34, 0x1002f566c\nLDR             X8, [X19]                                              ; +0x38, 0x1002f5670\nLDR             X1, [X8,#0x208]                                        ; +0x3c, 0x1002f5674\nMOV             X0, X19                                                ; +0x40, 0x1002f5678\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1002f567c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1002f5680\nBR              X1                                                     ; +0x4c, 0x1002f5684", "xrefs": ["PlayerObject::toggleGhostEffect @ 0x100227520", "GhostTrailEffect::runWithTarget @ 0x1002f51f0"], "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"}