{"type": "func", "start": 6443028064, "end": 6443028149, "name": "cocos2d::CCAnimation::init", "pseudocode": "// \n// cocos2d::CCAnimation::init from 0x18008ce60 to 0x18008ceb5 (85 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfcd0\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:22:06 +0000\n// \n\nchar __fastcall cocos2d::CCAnimation::init(cocos2d::CCAnimation *this)\n{\n  struct cocos2d::CCArray *v2; // rax\n  struct cocos2d::CCArray *v3; // rbx\n  cocos2d::CCObject *v4; // rcx\n\n  *((_DWORD *)this + 21) = 1;\n  *((_DWORD *)this + 15) = 0;\n  v2 = cocos2d::CCArray::create();\n  v3 = v2;\n  if ( *((struct cocos2d::CCArray **)this + 9) != v2 )\n  {\n    if ( v2 )\n      cocos2d::CCObject::retain(v2);\n    v4 = *((cocos2d::CCObject **)this + 9);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 9) = v3;\n  }\n  return 1;\n}", "assembly": "; \n; cocos2d::CCAnimation::init from 0x18008ce60 to 0x18008ceb5 (85 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfcd0\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:22:06 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008ce60\npush    rdi                                                            ; +0x5, 0x18008ce65\nsub     rsp, 20h                                                       ; +0x6, 0x18008ce66\nmov     rdi, rcx                                                       ; +0xa, 0x18008ce6a\nmov     dword ptr [rcx+54h], 1                                         ; +0xd, 0x18008ce6d\nmov     dword ptr [rcx+3Ch], 0                                         ; +0x14, 0x18008ce74\ncall    ?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x1b, 0x18008ce7b\nmov     rbx, rax                                                       ; +0x20, 0x18008ce80\ncmp     [rdi+48h], rax                                                 ; +0x23, 0x18008ce83\njz      short loc_18008CEA8                                            ; +0x27, 0x18008ce87\ntest    rax, rax                                                       ; +0x29, 0x18008ce89\njz      short loc_18008CE96                                            ; +0x2c, 0x18008ce8c\nmov     rcx, rax; this                                                 ; +0x2e, 0x18008ce8e\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x31, 0x18008ce91\nmov     rcx, [rdi+48h]; this                                           ; +0x36, 0x18008ce96\ntest    rcx, rcx                                                       ; +0x3a, 0x18008ce9a\njz      short loc_18008CEA4                                            ; +0x3d, 0x18008ce9d\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3f, 0x18008ce9f\nmov     [rdi+48h], rbx                                                 ; +0x44, 0x18008cea4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x18008cea8\nmov     al, 1                                                          ; +0x4d, 0x18008cead\nadd     rsp, 20h                                                       ; +0x4f, 0x18008ceaf\npop     rdi                                                            ; +0x53, 0x18008ceb3\nretn                                                                   ; +0x54, 0x18008ceb4", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfcd0"], "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"}