{"type": "func", "start": 6443060832, "end": 6443061000, "name": "cocos2d::CCSpriteFrameCache::init", "pseudocode": "// \n// cocos2d::CCSpriteFrameCache::init from 0x180094e60 to 0x180094f08 (168 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x180095d49\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c05f4\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:09 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nchar __fastcall cocos2d::CCSpriteFrameCache::init(cocos2d::CCSpriteFrameCache *this)\n{\n  cocos2d::CCDictionary *v2; // rax\n  cocos2d::CCDictionary *v3; // rax\n  __int64 *v4; // rax\n  __int64 *v5; // rbx\n  __int64 v6; // rax\n\n  v2 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u);\n  if ( v2 )\n    v2 = cocos2d::CCDictionary::CCDictionary(v2);\n  *((_QWORD *)this + 7) = v2;\n  v3 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u);\n  if ( v3 )\n    v3 = cocos2d::CCDictionary::CCDictionary(v3);\n  *((_QWORD *)this + 8) = v3;\n  v4 = (__int64 *)sub_1800E4AC0(0x10u);\n  v5 = v4;\n  if ( v4 )\n  {\n    *v4 = 0;\n    v4[1] = 0;\n    v6 = sub_1800E4AC0(0x40u);\n    *(_QWORD *)v6 = v6;\n    *(_QWORD *)(v6 + 8) = v6;\n    *(_QWORD *)(v6 + 16) = v6;\n    *(_WORD *)(v6 + 24) = 257;\n    *v5 = v6;\n  }\n  else\n  {\n    v5 = nullptr;\n  }\n  *((_QWORD *)this + 9) = v5;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCSpriteFrameCache::init from 0x180094e60 to 0x180094f08 (168 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x180095d49\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c05f4\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:09 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180094e60\npush    rdi                                                            ; +0x5, 0x180094e65\nsub     rsp, 20h                                                       ; +0x6, 0x180094e66\nmov     rdi, rcx                                                       ; +0xa, 0x180094e6a\nmov     ecx, 48h ; 'H'; Size                                           ; +0xd, 0x180094e6d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x180094e72\nmov     [rsp+28h+arg_0], rax                                           ; +0x17, 0x180094e77\ntest    rax, rax                                                       ; +0x1c, 0x180094e7c\njz      short loc_180094E8A                                            ; +0x1f, 0x180094e7f\nmov     rcx, rax; this                                                 ; +0x21, 0x180094e81\ncall    ??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x24, 0x180094e84\nnop                                                                    ; +0x29, 0x180094e89\nmov     [rdi+38h], rax                                                 ; +0x2a, 0x180094e8a\nmov     ecx, 48h ; 'H'; Size                                           ; +0x2e, 0x180094e8e\ncall    sub_1800E4AC0                                                  ; +0x33, 0x180094e93\nmov     [rsp+28h+arg_0], rax                                           ; +0x38, 0x180094e98\ntest    rax, rax                                                       ; +0x3d, 0x180094e9d\njz      short loc_180094EAB                                            ; +0x40, 0x180094ea0\nmov     rcx, rax; this                                                 ; +0x42, 0x180094ea2\ncall    ??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x45, 0x180094ea5\nnop                                                                    ; +0x4a, 0x180094eaa\nmov     [rdi+40h], rax                                                 ; +0x4b, 0x180094eab\nmov     ecx, 10h; Size                                                 ; +0x4f, 0x180094eaf\ncall    sub_1800E4AC0                                                  ; +0x54, 0x180094eb4\nmov     rbx, rax                                                       ; +0x59, 0x180094eb9\nmov     [rsp+28h+arg_0], rax                                           ; +0x5c, 0x180094ebc\ntest    rax, rax                                                       ; +0x61, 0x180094ec1\njz      short loc_180094EF5                                            ; +0x64, 0x180094ec4\nmov     qword ptr [rax], 0                                             ; +0x66, 0x180094ec6\nmov     qword ptr [rax+8], 0                                           ; +0x6d, 0x180094ecd\nmov     ecx, 40h ; '@'; Size                                           ; +0x75, 0x180094ed5\ncall    sub_1800E4AC0                                                  ; +0x7a, 0x180094eda\nmov     [rax], rax                                                     ; +0x7f, 0x180094edf\nmov     [rax+8], rax                                                   ; +0x82, 0x180094ee2\nmov     [rax+10h], rax                                                 ; +0x86, 0x180094ee6\nmov     word ptr [rax+18h], 101h                                       ; +0x8a, 0x180094eea\nmov     [rbx], rax                                                     ; +0x90, 0x180094ef0\njmp     short loc_180094EF7                                            ; +0x93, 0x180094ef3\nxor     ebx, ebx                                                       ; +0x95, 0x180094ef5\nmov     [rdi+48h], rbx                                                 ; +0x97, 0x180094ef7\nmov     al, 1                                                          ; +0x9b, 0x180094efb\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x9d, 0x180094efd\nadd     rsp, 20h                                                       ; +0xa2, 0x180094f02\npop     rdi                                                            ; +0xa6, 0x180094f06\nretn                                                                   ; +0xa7, 0x180094f07", "xrefs": ["cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x180095d49", "<???> @ 0x18014cf68", "<???> @ 0x1801c05f4"], "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"}