{"type": "func", "start": 5368975792, "end": 5368975975, "name": "CCAnimatedSprite::dCCAnimatedSprite", "pseudocode": "// \n// CCAnimatedSprite::dCCAnimatedSprite from 0x1400411b0 to 0x140041267 (183 bytes)\n// \n// 4 xrefs:\n// > sub_14003FFF0 @ 0x14003ffff\n// > sub_1402A65F0 @ 0x1402a668b\n// > sub_1402A9550 @ 0x1402a9585\n// > <???> @ 0x1406c42b4\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 CCAnimatedSprite::dCCAnimatedSprite(__int64 a1)\n{\n  cocos2d::CCNode *v2; // rcx\n  cocos2d::CCNode *v3; // rcx\n  __int64 v4; // rbx\n\n  *(_QWORD *)a1 = &CCAnimatedSprite::`vftable';\n  *(_QWORD *)(a1 + 320) = &CCAnimatedSprite::`vftable';\n  *(_QWORD *)(a1 + 344) = &CCAnimatedSprite::`vftable';\n  v2 = *(cocos2d::CCNode **)(a1 + 688);\n  if ( v2 )\n    cocos2d::CCNode::stopAllActions(v2);\n  v3 = *(cocos2d::CCNode **)(a1 + 680);\n  if ( v3 )\n    cocos2d::CCNode::stopAllActions(v3);\n  v4 = *(_QWORD *)(a1 + 664);\n  cocos2d::CCDictionary::removeAllObjects(*(cocos2d::CCDictionary **)(v4 + 400));\n  cocos2d::CCObject::release((cocos2d::CCObject *)v4);\n  *(_QWORD *)(a1 + 664) = 0;\n  sub_14003A830(a1 + 704);\n  sub_14003A830(a1 + 632);\n  sub_14003A830(a1 + 600);\n  cocos2d::CCSprite::~CCSprite((cocos2d::CCSprite *)a1);\n}", "assembly": "; \n; CCAnimatedSprite::dCCAnimatedSprite from 0x1400411b0 to 0x140041267 (183 bytes)\n; \n; 4 xrefs:\n; > sub_14003FFF0 @ 0x14003ffff\n; > sub_1402A65F0 @ 0x1402a668b\n; > sub_1402A9550 @ 0x1402a9585\n; > <???> @ 0x1406c42b4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400411b0\npush    rdi                                                            ; +0x5, 0x1400411b5\nsub     rsp, 20h                                                       ; +0x6, 0x1400411b6\nmov     rdi, rcx                                                       ; +0xa, 0x1400411ba\nlea     rax, ??_7CCAnimatedSprite@@6B@; const CCAnimatedSprite::`vftable' ; +0xd, 0x1400411bd\nmov     [rcx], rax                                                     ; +0x14, 0x1400411c4\nlea     rax, ??_7CCAnimatedSprite@@6B@_0; const CCAnimatedSprite::`vftable' ; +0x17, 0x1400411c7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x1400411ce\nlea     rax, ??_7CCAnimatedSprite@@6B@_1; const CCAnimatedSprite::`vftable' ; +0x25, 0x1400411d5\nmov     [rcx+158h], rax                                                ; +0x2c, 0x1400411dc\nmov     rcx, [rcx+2B0h]                                                ; +0x33, 0x1400411e3\ntest    rcx, rcx                                                       ; +0x3a, 0x1400411ea\njz      short loc_1400411F5                                            ; +0x3d, 0x1400411ed\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x3f, 0x1400411ef\nmov     rcx, [rdi+2A8h]                                                ; +0x45, 0x1400411f5\ntest    rcx, rcx                                                       ; +0x4c, 0x1400411fc\njz      short loc_140041207                                            ; +0x4f, 0x1400411ff\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x51, 0x140041201\nmov     rbx, [rdi+298h]                                                ; +0x57, 0x140041207\nmov     rcx, [rbx+190h]                                                ; +0x5e, 0x14004120e\ncall    cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x65, 0x140041215\nmov     rcx, rbx                                                       ; +0x6b, 0x14004121b\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6e, 0x14004121e\nmov     qword ptr [rdi+298h], 0                                        ; +0x74, 0x140041224\nlea     rcx, [rdi+2C0h]                                                ; +0x7f, 0x14004122f\ncall    sub_14003A830                                                  ; +0x86, 0x140041236\nlea     rcx, [rdi+278h]                                                ; +0x8b, 0x14004123b\ncall    sub_14003A830                                                  ; +0x92, 0x140041242\nlea     rcx, [rdi+258h]                                                ; +0x97, 0x140041247\ncall    sub_14003A830                                                  ; +0x9e, 0x14004124e\nmov     rcx, rdi                                                       ; +0xa3, 0x140041253\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x140041256\nadd     rsp, 20h                                                       ; +0xab, 0x14004125b\npop     rdi                                                            ; +0xaf, 0x14004125f\njmp     cs:__imp_??1CCSprite@cocos2d@@UEAA@XZ; cocos2d::CCSprite::~CCSprite(void) ; +0xb0, 0x140041260", "xrefs": ["sub_14003FFF0 @ 0x14003ffff", "sub_1402A65F0 @ 0x1402a668b", "sub_1402A9550 @ 0x1402a9585", "<???> @ 0x1406c42b4"], "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"}