{"type": "func", "start": 6442920240, "end": 6442920423, "name": "cocos2d::CCFileUtils::init", "pseudocode": "// \n// cocos2d::CCFileUtils::init from 0x180072930 to 0x1800729e7 (183 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCFileUtilsWin32::init @ 0x18007dde1\n// > <???> @ 0x180106a40\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be5d8\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:57 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar __fastcall cocos2d::CCFileUtils::init(cocos2d::CCFileUtils *this)\n{\n  void *v2; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __m128i si128; // [rsp+40h] [rbp-28h]\n\n  sub_18006E750((__int64 *)this + 5, (__int64)this + 64);\n  *(_OWORD *)Block = 0;\n  si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500);\n  LOBYTE(Block[0]) = 0;\n  sub_18006E8C0((__int64 *)this + 2, (__int128 *)Block);\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v2 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v2 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v2 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v2);\n  }\n  return 1;\n}", "assembly": "; \n; cocos2d::CCFileUtils::init from 0x180072930 to 0x1800729e7 (183 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCFileUtilsWin32::init @ 0x18007dde1\n; > <???> @ 0x180106a40\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be5d8\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:57 +0000\n; \npush    rbx                                                            ; +0x0, 0x180072930\nsub     rsp, 60h                                                       ; +0x2, 0x180072932\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x180072936\nxor     rax, rsp                                                       ; +0xd, 0x18007293d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x180072940\nmov     rbx, rcx                                                       ; +0x15, 0x180072945\nlea     rdx, [rcx+40h]                                                 ; +0x18, 0x180072948\nadd     rcx, 28h ; '('                                                 ; +0x1c, 0x18007294c\ncall    sub_18006E750                                                  ; +0x20, 0x180072950\nxorps   xmm0, xmm0                                                     ; +0x25, 0x180072955\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x28, 0x180072958\nmovdqa  xmm1, cs:xmmword_1800EC500                                     ; +0x2d, 0x18007295d\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x35, 0x180072965\nmov     byte ptr [rsp+68h+Block], 0                                    ; +0x3b, 0x18007296b\nlea     rcx, [rbx+10h]                                                 ; +0x40, 0x180072970\nlea     rdx, [rsp+68h+Block]                                           ; +0x44, 0x180072974\ncall    sub_18006E8C0                                                  ; +0x49, 0x180072979\nnop                                                                    ; +0x4e, 0x18007297e\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x4f, 0x18007297f\ncmp     rdx, 0Fh                                                       ; +0x54, 0x180072984\njbe     short loc_1800729D2                                            ; +0x58, 0x180072988\ninc     rdx                                                            ; +0x5a, 0x18007298a\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x5d, 0x18007298d\nmov     rax, rcx                                                       ; +0x62, 0x180072992\ncmp     rdx, 1000h                                                     ; +0x65, 0x180072995\njb      short loc_1800729CD                                            ; +0x6c, 0x18007299c\nadd     rdx, 27h ; '''                                                 ; +0x6e, 0x18007299e\nmov     rcx, [rcx-8]                                                   ; +0x72, 0x1800729a2\nsub     rax, rcx                                                       ; +0x76, 0x1800729a6\nsub     rax, 8                                                         ; +0x79, 0x1800729a9\ncmp     rax, 1Fh                                                       ; +0x7d, 0x1800729ad\njbe     short loc_1800729CD                                            ; +0x81, 0x1800729b1\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x83, 0x1800729b3\nxor     r9d, r9d; LineNo                                               ; +0x8c, 0x1800729bc\nxor     r8d, r8d; FileName                                             ; +0x8f, 0x1800729bf\nxor     edx, edx; FunctionName                                         ; +0x92, 0x1800729c2\nxor     ecx, ecx; Expression                                           ; +0x94, 0x1800729c4\ncall    cs:_invoke_watson                                              ; +0x96, 0x1800729c6\ndb 0CCh                                                                ; +0x9c, 0x1800729cc\ncall    j_j_free_0                                                     ; +0x9d, 0x1800729cd\nmov     al, 1                                                          ; +0xa2, 0x1800729d2\nmov     rcx, [rsp+68h+var_18]                                          ; +0xa4, 0x1800729d4\nxor     rcx, rsp; StackCookie                                          ; +0xa9, 0x1800729d9\ncall    __security_check_cookie                                        ; +0xac, 0x1800729dc\nadd     rsp, 60h                                                       ; +0xb1, 0x1800729e1\npop     rbx                                                            ; +0xb5, 0x1800729e5\nretn                                                                   ; +0xb6, 0x1800729e6", "xrefs": ["cocos2d::CCFileUtilsWin32::init @ 0x18007dde1", "<???> @ 0x180106a40", "<???> @ 0x18014cf68", "<???> @ 0x1801be5d8"], "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"}