{"type": "func", "start": 6866508, "end": 6866664, "name": "CCAnimatedSprite::~CCAnimatedSprite", "pseudocode": "// \n// CCAnimatedSprite::~CCAnimatedSprite from 0x68c64c to 0x68c6e8 (156 bytes)\n// \n// 6 xrefs:\n// > CCAnimatedSprite::~CCAnimatedSprite @ 0x68c6f8\n// > GJRobotSprite::~GJRobotSprite @ 0xa3c388\n// > AnimatedShopKeeper::~AnimatedShopKeeper @ 0xa7c860\n// > <???> @ 0xc72a0\n// > <???> @ 0x105d90\n// > <???> @ 0x1413ba8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:33 +0000\n// \n\n// Alternative name is '_ZN16CCAnimatedSpriteD2Ev'\nvoid __fastcall CCAnimatedSprite::~CCAnimatedSprite(CCAnimatedSprite *this)\n{\n  cocos2d::CCNode *v2; // x0\n  cocos2d::CCNode *v3; // x0\n\n  v2 = *((cocos2d::CCNode **)this + 84);\n  *(_QWORD *)this = &off_1413BA0;\n  *((_QWORD *)this + 40) = &off_1414098;\n  *((_QWORD *)this + 43) = &off_1414118;\n  if ( v2 )\n    cocos2d::CCNode::stopAllActions(v2);\n  v3 = *((cocos2d::CCNode **)this + 83);\n  if ( v3 )\n    cocos2d::CCNode::stopAllActions(v3);\n  SpriteAnimationManager::doCleanup(*((SpriteAnimationManager **)this + 81));\n  *((_QWORD *)this + 81) = 0;\n  if ( (*((_BYTE *)this + 688) & 1) != 0 )\n    operator delete(*((void **)this + 88));\n  if ( (*((_BYTE *)this + 624) & 1) != 0 )\n    operator delete(*((void **)this + 80));\n  if ( (*((_BYTE *)this + 600) & 1) != 0 )\n    operator delete(*((void **)this + 77));\n  cocos2d::CCSprite::~CCSprite(this);\n}", "assembly": "; \n; CCAnimatedSprite::~CCAnimatedSprite from 0x68c64c to 0x68c6e8 (156 bytes)\n; \n; 6 xrefs:\n; > CCAnimatedSprite::~CCAnimatedSprite @ 0x68c6f8\n; > GJRobotSprite::~GJRobotSprite @ 0xa3c388\n; > AnimatedShopKeeper::~AnimatedShopKeeper @ 0xa7c860\n; > <???> @ 0xc72a0\n; > <???> @ 0x105d90\n; > <???> @ 0x1413ba8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:33 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x68c64c\nADRP            X1, #_ZTV16CCAnimatedSprite_ptr@PAGE                   ; +0x4, 0x68c650\nMOV             X29, SP                                                ; +0x8, 0x68c654\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x68c658\nMOV             X19, X0                                                ; +0x10, 0x68c65c\nLDR             X1, [X1,#_ZTV16CCAnimatedSprite_ptr@PAGEOFF]; `vtable for'CCAnimatedSprite ... ; +0x14, 0x68c660\nLDR             X0, [X0,#0x2A0]; this                                  ; +0x18, 0x68c664\nADD             X3, X1, #0x10                                          ; +0x1c, 0x68c668\nADD             X2, X1, #0x508                                         ; +0x20, 0x68c66c\nSTR             X3, [X19]                                              ; +0x24, 0x68c670\nADD             X1, X1, #0x588                                         ; +0x28, 0x68c674\nSTR             X2, [X19,#0x140]                                       ; +0x2c, 0x68c678\nSTR             X1, [X19,#0x158]                                       ; +0x30, 0x68c67c\nCBZ             X0, loc_68C688                                         ; +0x34, 0x68c680\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x38, 0x68c684\nLDR             X0, [X19,#0x298]; this                                 ; +0x3c, 0x68c688\nCBZ             X0, loc_68C694                                         ; +0x40, 0x68c68c\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x44, 0x68c690\nLDR             X0, [X19,#0x288]; this                                 ; +0x48, 0x68c694\nBL              _ZN22SpriteAnimationManager9doCleanupEv; SpriteAnimationManager::doCleanup(void) ; +0x4c, 0x68c698\nSTR             XZR, [X19,#0x288]                                      ; +0x50, 0x68c69c\nLDRB            W0, [X19,#0x2B0]                                       ; +0x54, 0x68c6a0\nTBNZ            W0, #0, loc_68C6DC                                     ; +0x58, 0x68c6a4\nLDRB            W0, [X19,#0x270]                                       ; +0x5c, 0x68c6a8\nTBNZ            W0, #0, loc_68C6D0                                     ; +0x60, 0x68c6ac\nLDRB            W0, [X19,#0x258]                                       ; +0x64, 0x68c6b0\nTBZ             W0, #0, loc_68C6C0                                     ; +0x68, 0x68c6b4\nLDR             X0, [X19,#0x268]; void *                               ; +0x6c, 0x68c6b8\nBL              _ZdlPv; operator delete(void *)                        ; +0x70, 0x68c6bc\nMOV             X0, X19; this                                          ; +0x74, 0x68c6c0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x78, 0x68c6c4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x7c, 0x68c6c8\nB               _ZN7cocos2d8CCSpriteD1Ev; cocos2d::CCSprite::~CCSprite() ; +0x80, 0x68c6cc\nLDR             X0, [X19,#0x280]; void *                               ; +0x84, 0x68c6d0\nBL              _ZdlPv; operator delete(void *)                        ; +0x88, 0x68c6d4\nB               loc_68C6B0                                             ; +0x8c, 0x68c6d8\nLDR             X0, [X19,#0x2C0]; void *                               ; +0x90, 0x68c6dc\nBL              _ZdlPv; operator delete(void *)                        ; +0x94, 0x68c6e0\nB               loc_68C6A8                                             ; +0x98, 0x68c6e4", "xrefs": ["CCAnimatedSprite::~CCAnimatedSprite @ 0x68c6f8", "GJRobotSprite::~GJRobotSprite @ 0xa3c388", "AnimatedShopKeeper::~AnimatedShopKeeper @ 0xa7c860", "<???> @ 0xc72a0", "<???> @ 0x105d90", "<???> @ 0x1413ba8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}