{"type": "func", "start": 5368990912, "end": 5368991095, "name": "CCAnimatedSprite::dCCAnimatedSprite", "pseudocode": "// \n// CCAnimatedSprite::dCCAnimatedSprite from 0x140044cc0 to 0x140044d77 (183 bytes)\n// \n// 4 xrefs:\n// > sub_140043A20 @ 0x140043a2f\n// > GJRobotSprite::dGJRobotSprite @ 0x1403ac72e\n// > AnimatedShopKeeper::dAnimatedShopKeeper @ 0x1403af805\n// > <???> @ 0x14090f7b8\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:30 +0000\n// \n\nvoid __fastcall CCAnimatedSprite::dCCAnimatedSprite(cocos2d::CCSprite *a1)\n{\n  cocos2d::CCNode *v2; // rcx\n  cocos2d::CCNode *v3; // rcx\n  cocos2d::CCDictionary **v4; // rbx\n\n  *(_QWORD *)a1 = &CCAnimatedSprite::`vftable';\n  *((_QWORD *)a1 + 40) = &CCAnimatedSprite::`vftable';\n  *((_QWORD *)a1 + 43) = &CCAnimatedSprite::`vftable';\n  v2 = *((cocos2d::CCNode **)a1 + 86);\n  if ( v2 )\n    cocos2d::CCNode::stopAllActions(v2);\n  v3 = *((cocos2d::CCNode **)a1 + 85);\n  if ( v3 )\n    cocos2d::CCNode::stopAllActions(v3);\n  v4 = *((cocos2d::CCDictionary ***)a1 + 83);\n  cocos2d::CCDictionary::removeAllObjects(v4[50]);\n  cocos2d::CCObject::release((cocos2d::CCObject *)v4);\n  *((_QWORD *)a1 + 83) = 0;\n  sub_14003D310((__int64)a1 + 704);\n  sub_14003D310((__int64)a1 + 632);\n  sub_14003D310((__int64)a1 + 600);\n  cocos2d::CCSprite::~CCSprite(a1);\n}", "assembly": "; \n; CCAnimatedSprite::dCCAnimatedSprite from 0x140044cc0 to 0x140044d77 (183 bytes)\n; \n; 4 xrefs:\n; > sub_140043A20 @ 0x140043a2f\n; > GJRobotSprite::dGJRobotSprite @ 0x1403ac72e\n; > AnimatedShopKeeper::dAnimatedShopKeeper @ 0x1403af805\n; > <???> @ 0x14090f7b8\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140044cc0\npush    rdi                                                            ; +0x5, 0x140044cc5\nsub     rsp, 20h                                                       ; +0x6, 0x140044cc6\nmov     rdi, rcx                                                       ; +0xa, 0x140044cca\nlea     rax, ??_7CCAnimatedSprite@@6B@; const CCAnimatedSprite::`vftable' ; +0xd, 0x140044ccd\nmov     [rcx], rax                                                     ; +0x14, 0x140044cd4\nlea     rax, ??_7CCAnimatedSprite@@6B@_0; const CCAnimatedSprite::`vftable' ; +0x17, 0x140044cd7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x140044cde\nlea     rax, ??_7CCAnimatedSprite@@6B@_1; const CCAnimatedSprite::`vftable' ; +0x25, 0x140044ce5\nmov     [rcx+158h], rax                                                ; +0x2c, 0x140044cec\nmov     rcx, [rcx+2B0h]                                                ; +0x33, 0x140044cf3\ntest    rcx, rcx                                                       ; +0x3a, 0x140044cfa\njz      short loc_140044D05                                            ; +0x3d, 0x140044cfd\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x3f, 0x140044cff\nmov     rcx, [rdi+2A8h]                                                ; +0x45, 0x140044d05\ntest    rcx, rcx                                                       ; +0x4c, 0x140044d0c\njz      short loc_140044D17                                            ; +0x4f, 0x140044d0f\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x51, 0x140044d11\nmov     rbx, [rdi+298h]                                                ; +0x57, 0x140044d17\nmov     rcx, [rbx+190h]                                                ; +0x5e, 0x140044d1e\ncall    cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x65, 0x140044d25\nmov     rcx, rbx                                                       ; +0x6b, 0x140044d2b\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6e, 0x140044d2e\nmov     qword ptr [rdi+298h], 0                                        ; +0x74, 0x140044d34\nlea     rcx, [rdi+2C0h]                                                ; +0x7f, 0x140044d3f\ncall    sub_14003D310                                                  ; +0x86, 0x140044d46\nlea     rcx, [rdi+278h]                                                ; +0x8b, 0x140044d4b\ncall    sub_14003D310                                                  ; +0x92, 0x140044d52\nlea     rcx, [rdi+258h]                                                ; +0x97, 0x140044d57\ncall    sub_14003D310                                                  ; +0x9e, 0x140044d5e\nmov     rcx, rdi                                                       ; +0xa3, 0x140044d63\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x140044d66\nadd     rsp, 20h                                                       ; +0xab, 0x140044d6b\npop     rdi                                                            ; +0xaf, 0x140044d6f\njmp     cs:__imp_??1CCSprite@cocos2d@@UEAA@XZ; cocos2d::CCSprite::~CCSprite(void) ; +0xb0, 0x140044d70", "xrefs": ["sub_140043A20 @ 0x140043a2f", "GJRobotSprite::dGJRobotSprite @ 0x1403ac72e", "AnimatedShopKeeper::dAnimatedShopKeeper @ 0x1403af805", "<???> @ 0x14090f7b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}