{"type": "func", "start": 6442910208, "end": 6442910569, "name": "cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile", "pseudocode": "// \n// cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile from 0x180070200 to 0x180070369 (361 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180106a70\n// > <???> @ 0x180107820\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be50c\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:21:56 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 __fastcall cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile(__int64 a1, _QWORD *a2)\n{\n  float v2; // xmm1_4\n  void **v3; // rbx\n  __int64 v4; // rbx\n  void *v5; // rcx\n  _BYTE v7[8]; // [rsp+30h] [rbp-138h] BYREF\n  void *Block[3]; // [rsp+38h] [rbp-130h] BYREF\n  unsigned __int64 v9; // [rsp+50h] [rbp-118h]\n  void **v10; // [rsp+60h] [rbp-108h] BYREF\n  int v11; // [rsp+68h] [rbp-100h]\n  __int64 v12; // [rsp+78h] [rbp-F0h]\n  _BYTE v13[40]; // [rsp+88h] [rbp-E0h] BYREF\n  _BYTE v14[32]; // [rsp+B0h] [rbp-B8h] BYREF\n  _BYTE v15[48]; // [rsp+D0h] [rbp-98h] BYREF\n  _BYTE v16[40]; // [rsp+100h] [rbp-68h] BYREF\n  _BYTE v17[40]; // [rsp+128h] [rbp-40h] BYREF\n\n  if ( a2[3] > 0xFu )\n    a2 = (_QWORD *)*a2;\n  (*(void (__fastcall **)(__int64, void **, _QWORD *, _QWORD))(*(_QWORD *)a1 + 40LL))(a1, Block, a2, 0);\n  sub_18006EED0((__int64)&v10);\n  v3 = Block;\n  if ( v9 > 0xF )\n    v3 = (void **)Block[0];\n  v11 = 1;\n  cocos2d::CCThread::CCThread((cocos2d::CCThread *)v7);\n  if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)v7, \"UTF-8\") )\n  {\n    cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)v7, (struct cocos2d::CCSAXDelegator *)&v10);\n    cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)v7, (const char *)v3);\n    v4 = v12;\n  }\n  else\n  {\n    v4 = 0;\n  }\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)v7, v2);\n  v10 = &cocos2d::CCDictMaker::`vftable';\n  sub_18006F0C0((__int64)v17);\n  sub_18006F0C0((__int64)v16);\n  sub_180005C70((__int64)v15);\n  sub_180005C70((__int64)v14);\n  sub_18006F0C0((__int64)v13);\n  if ( v9 > 0xF )\n  {\n    v5 = Block[0];\n    if ( v9 + 1 >= 0x1000 )\n    {\n      v5 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v5);\n  }\n  return v4;\n}", "assembly": "; \n; cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile from 0x180070200 to 0x180070369 (361 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180106a70\n; > <???> @ 0x180107820\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be50c\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:21:56 +0000\n; \npush    rbx                                                            ; +0x0, 0x180070200\nsub     rsp, 160h                                                      ; +0x2, 0x180070202\nmov     rax, cs:__security_cookie                                      ; +0x9, 0x180070209\nxor     rax, rsp                                                       ; +0x10, 0x180070210\nmov     [rsp+168h+var_18], rax                                         ; +0x13, 0x180070213\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x1b, 0x18007021b\njbe     short loc_180070225                                            ; +0x20, 0x180070220\nmov     rdx, [rdx]                                                     ; +0x22, 0x180070222\nmov     rax, [rcx]                                                     ; +0x25, 0x180070225\nxor     r9d, r9d                                                       ; +0x28, 0x180070228\nmov     r8, rdx                                                        ; +0x2b, 0x18007022b\nlea     rdx, [rsp+168h+Block]                                          ; +0x2e, 0x18007022e\ncall    qword ptr [rax+28h]                                            ; +0x33, 0x180070233\nnop                                                                    ; +0x36, 0x180070236\nlea     rcx, [rsp+168h+var_108]                                        ; +0x37, 0x180070237\ncall    sub_18006EED0                                                  ; +0x3c, 0x18007023c\nnop                                                                    ; +0x41, 0x180070241\nlea     rbx, [rsp+168h+Block]                                          ; +0x42, 0x180070242\ncmp     [rsp+168h+var_118], 0Fh                                        ; +0x47, 0x180070247\ncmova   rbx, [rsp+168h+Block]                                          ; +0x4d, 0x18007024d\nmov     [rsp+168h+var_100], 1                                          ; +0x53, 0x180070253\nlea     rcx, [rsp+168h+var_138]; this                                  ; +0x5b, 0x18007025b\ncall    ??0CCThread@cocos2d@@QEAA@XZ; cocos2d::CCThread::CCThread(void) ; +0x60, 0x180070260\nnop                                                                    ; +0x65, 0x180070265\nlea     rdx, aUtf8; \"UTF-8\"                                            ; +0x66, 0x180070266\nlea     rcx, [rsp+168h+var_138]; this                                  ; +0x6d, 0x18007026d\ncall    ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x72, 0x180070272\ntest    al, al                                                         ; +0x77, 0x180070277\njnz     short loc_18007027F                                            ; +0x79, 0x180070279\nxor     ebx, ebx                                                       ; +0x7b, 0x18007027b\njmp     short loc_1800702A1                                            ; +0x7d, 0x18007027d\nlea     rdx, [rsp+168h+var_108]; struct cocos2d::CCSAXDelegator *      ; +0x7f, 0x18007027f\nlea     rcx, [rsp+168h+var_138]; this                                  ; +0x84, 0x180070284\ncall    ?setDelegator@CCSAXParser@cocos2d@@QEAAXPEAVCCSAXDelegator@2@@Z; cocos2d::CCSAXParser::setDelegator(cocos2d::CCSAXDelegator *) ; +0x89, 0x180070289\nmov     rdx, rbx; char *                                               ; +0x8e, 0x18007028e\nlea     rcx, [rsp+168h+var_138]; this                                  ; +0x91, 0x180070291\ncall    ?parse@CCSAXParser@cocos2d@@QEAA_NPEBD@Z; cocos2d::CCSAXParser::parse(char const *) ; +0x96, 0x180070296\nnop                                                                    ; +0x9b, 0x18007029b\nmov     rbx, [rsp+168h+var_F0]                                         ; +0x9c, 0x18007029c\nlea     rcx, [rsp+168h+var_138]; this                                  ; +0xa1, 0x1800702a1\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0xa6, 0x1800702a6\nnop                                                                    ; +0xab, 0x1800702ab\nlea     rax, ??_7CCDictMaker@cocos2d@@6B@; const cocos2d::CCDictMaker::`vftable' ; +0xac, 0x1800702ac\nmov     [rsp+168h+var_108], rax                                        ; +0xb3, 0x1800702b3\nlea     rcx, [rsp+168h+var_40]                                         ; +0xb8, 0x1800702b8\ncall    sub_18006F0C0                                                  ; +0xc0, 0x1800702c0\nlea     rcx, [rsp+168h+var_68]                                         ; +0xc5, 0x1800702c5\ncall    sub_18006F0C0                                                  ; +0xcd, 0x1800702cd\nlea     rcx, [rsp+168h+var_98]                                         ; +0xd2, 0x1800702d2\ncall    sub_180005C70                                                  ; +0xda, 0x1800702da\nlea     rcx, [rsp+168h+var_B8]                                         ; +0xdf, 0x1800702df\ncall    sub_180005C70                                                  ; +0xe7, 0x1800702e7\nlea     rcx, [rsp+168h+var_E0]                                         ; +0xec, 0x1800702ec\ncall    sub_18006F0C0                                                  ; +0xf4, 0x1800702f4\nnop                                                                    ; +0xf9, 0x1800702f9\nmov     rdx, [rsp+168h+var_118]                                        ; +0xfa, 0x1800702fa\ncmp     rdx, 0Fh                                                       ; +0xff, 0x1800702ff\njbe     short loc_18007034D                                            ; +0x103, 0x180070303\ninc     rdx                                                            ; +0x105, 0x180070305\nmov     rcx, [rsp+168h+Block]; Block                                   ; +0x108, 0x180070308\nmov     rax, rcx                                                       ; +0x10d, 0x18007030d\ncmp     rdx, 1000h                                                     ; +0x110, 0x180070310\njb      short loc_180070348                                            ; +0x117, 0x180070317\nadd     rdx, 27h ; '''                                                 ; +0x119, 0x180070319\nmov     rcx, [rcx-8]                                                   ; +0x11d, 0x18007031d\nsub     rax, rcx                                                       ; +0x121, 0x180070321\nsub     rax, 8                                                         ; +0x124, 0x180070324\ncmp     rax, 1Fh                                                       ; +0x128, 0x180070328\njbe     short loc_180070348                                            ; +0x12c, 0x18007032c\nmov     [rsp+168h+Reserved], 0; Reserved                               ; +0x12e, 0x18007032e\nxor     r9d, r9d; LineNo                                               ; +0x137, 0x180070337\nxor     r8d, r8d; FileName                                             ; +0x13a, 0x18007033a\nxor     edx, edx; FunctionName                                         ; +0x13d, 0x18007033d\nxor     ecx, ecx; Expression                                           ; +0x13f, 0x18007033f\ncall    cs:_invoke_watson                                              ; +0x141, 0x180070341\nalign 8                                                                ; +0x147, 0x180070347\ncall    j_j_free_0                                                     ; +0x148, 0x180070348\nmov     rax, rbx                                                       ; +0x14d, 0x18007034d\nmov     rcx, [rsp+168h+var_18]                                         ; +0x150, 0x180070350\nxor     rcx, rsp; StackCookie                                          ; +0x158, 0x180070358\ncall    __security_check_cookie                                        ; +0x15b, 0x18007035b\nadd     rsp, 160h                                                      ; +0x160, 0x180070360\npop     rbx                                                            ; +0x167, 0x180070367\nretn                                                                   ; +0x168, 0x180070368", "xrefs": ["<???> @ 0x180106a70", "<???> @ 0x180107820", "<???> @ 0x18014cf68", "<???> @ 0x1801be50c"], "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"}