{"type": "func", "start": 6442966544, "end": 6442966805, "name": "cocos2d::CCFileUtilsWin32::isAbsolutePath", "pseudocode": "// \n// cocos2d::CCFileUtilsWin32::isAbsolutePath from 0x18007de10 to 0x18007df15 (261 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801077d8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801befb0\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:01 +0000\n// \n\n__int64 __fastcall cocos2d::CCFileUtilsWin32::isAbsolutePath(__int64 a1, _QWORD *a2)\n{\n  void *v2; // rcx\n  void **v3; // rax\n  void **v4; // rax\n  void **v5; // rax\n  void **v6; // rax\n  void **v7; // rax\n  unsigned __int8 v8; // bl\n  void *Block[3]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v11; // [rsp+48h] [rbp-20h]\n\n  if ( a2[3] > 0xFu )\n    a2 = (_QWORD *)*a2;\n  cocos2d::CCFileUtilsWin32::utf8Togbk(a1, Block, a2);\n  v2 = Block[0];\n  if ( Block[2] <= (void *)2 )\n    goto LABEL_20;\n  v3 = Block;\n  if ( v11 > 0xF )\n    v3 = (void **)Block[0];\n  if ( *(char *)v3 < 97 )\n    goto LABEL_15;\n  v4 = Block;\n  if ( v11 > 0xF )\n    v4 = (void **)Block[0];\n  if ( *(char *)v4 > 122 )\n  {\nLABEL_15:\n    v5 = Block;\n    if ( v11 > 0xF )\n      v5 = (void **)Block[0];\n    if ( *(char *)v5 < 65 )\n      goto LABEL_20;\n    v6 = Block;\n    if ( v11 > 0xF )\n      v6 = (void **)Block[0];\n    if ( *(char *)v6 > 90 )\n      goto LABEL_20;\n  }\n  v7 = Block;\n  if ( v11 > 0xF )\n    v7 = (void **)Block[0];\n  if ( *((_BYTE *)v7 + 1) == 58 )\n    v8 = 1;\n  else\nLABEL_20:\n    v8 = 0;\n  if ( v11 > 0xF )\n  {\n    if ( v11 + 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 v8;\n}", "assembly": "; \n; cocos2d::CCFileUtilsWin32::isAbsolutePath from 0x18007de10 to 0x18007df15 (261 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801077d8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801befb0\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:01 +0000\n; \nsub     rsp, 68h                                                       ; +0x0, 0x18007de10\nmov     rax, cs:__security_cookie                                      ; +0x4, 0x18007de14\nxor     rax, rsp                                                       ; +0xb, 0x18007de1b\nmov     [rsp+68h+var_18], rax                                          ; +0xe, 0x18007de1e\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x13, 0x18007de23\njbe     short loc_18007DE2D                                            ; +0x18, 0x18007de28\nmov     rdx, [rdx]                                                     ; +0x1a, 0x18007de2a\nmov     r8, rdx                                                        ; +0x1d, 0x18007de2d\nmov     [rsp+68h+var_8], rbx                                           ; +0x20, 0x18007de30\nlea     rdx, [rsp+68h+Block]                                           ; +0x25, 0x18007de35\ncall    ?utf8Togbk@CCFileUtilsWin32@cocos2d@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@Z; cocos2d::CCFileUtilsWin32::utf8Togbk(char const *) ; +0x2a, 0x18007de3a\ncmp     [rsp+68h+var_28], 2                                            ; +0x2f, 0x18007de3f\nmov     rdx, [rsp+68h+var_20]                                          ; +0x35, 0x18007de45\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x3a, 0x18007de4a\njbe     short loc_18007DEB0                                            ; +0x3f, 0x18007de4f\ncmp     rdx, 0Fh                                                       ; +0x41, 0x18007de51\nlea     rax, [rsp+68h+Block]                                           ; +0x45, 0x18007de55\ncmova   rax, rcx                                                       ; +0x4a, 0x18007de5a\ncmp     byte ptr [rax], 61h ; 'a'                                      ; +0x4e, 0x18007de5e\njl      short loc_18007DE75                                            ; +0x51, 0x18007de61\ncmp     rdx, 0Fh                                                       ; +0x53, 0x18007de63\nlea     rax, [rsp+68h+Block]                                           ; +0x57, 0x18007de67\ncmova   rax, rcx                                                       ; +0x5c, 0x18007de6c\ncmp     byte ptr [rax], 7Ah ; 'z'                                      ; +0x60, 0x18007de70\njle     short loc_18007DE99                                            ; +0x63, 0x18007de73\ncmp     rdx, 0Fh                                                       ; +0x65, 0x18007de75\nlea     rax, [rsp+68h+Block]                                           ; +0x69, 0x18007de79\ncmova   rax, rcx                                                       ; +0x6e, 0x18007de7e\ncmp     byte ptr [rax], 41h ; 'A'                                      ; +0x72, 0x18007de82\njl      short loc_18007DEB0                                            ; +0x75, 0x18007de85\ncmp     rdx, 0Fh                                                       ; +0x77, 0x18007de87\nlea     rax, [rsp+68h+Block]                                           ; +0x7b, 0x18007de8b\ncmova   rax, rcx                                                       ; +0x80, 0x18007de90\ncmp     byte ptr [rax], 5Ah ; 'Z'                                      ; +0x84, 0x18007de94\njg      short loc_18007DEB0                                            ; +0x87, 0x18007de97\ncmp     rdx, 0Fh                                                       ; +0x89, 0x18007de99\nlea     rax, [rsp+68h+Block]                                           ; +0x8d, 0x18007de9d\ncmova   rax, rcx                                                       ; +0x92, 0x18007dea2\ncmp     byte ptr [rax+1], 3Ah ; ':'                                    ; +0x96, 0x18007dea6\njnz     short loc_18007DEB0                                            ; +0x9a, 0x18007deaa\nmov     bl, 1                                                          ; +0x9c, 0x18007deac\njmp     short loc_18007DEB2                                            ; +0x9e, 0x18007deae\nxor     bl, bl                                                         ; +0xa0, 0x18007deb0\ncmp     rdx, 0Fh                                                       ; +0xa2, 0x18007deb2\njbe     short loc_18007DEFB                                            ; +0xa6, 0x18007deb6\ninc     rdx                                                            ; +0xa8, 0x18007deb8\nmov     rax, rcx                                                       ; +0xab, 0x18007debb\ncmp     rdx, 1000h                                                     ; +0xae, 0x18007debe\njb      short loc_18007DEF6                                            ; +0xb5, 0x18007dec5\nmov     rcx, [rcx-8]                                                   ; +0xb7, 0x18007dec7\nadd     rdx, 27h ; '''                                                 ; +0xbb, 0x18007decb\nsub     rax, rcx                                                       ; +0xbf, 0x18007decf\nsub     rax, 8                                                         ; +0xc2, 0x18007ded2\ncmp     rax, 1Fh                                                       ; +0xc6, 0x18007ded6\njbe     short loc_18007DEF6                                            ; +0xca, 0x18007deda\nxor     r9d, r9d; LineNo                                               ; +0xcc, 0x18007dedc\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xcf, 0x18007dedf\nxor     r8d, r8d; FileName                                             ; +0xd8, 0x18007dee8\nxor     edx, edx; FunctionName                                         ; +0xdb, 0x18007deeb\nxor     ecx, ecx; Expression                                           ; +0xdd, 0x18007deed\ncall    cs:_invoke_watson                                              ; +0xdf, 0x18007deef\nalign 2                                                                ; +0xe5, 0x18007def5\ncall    j_j_free_0                                                     ; +0xe6, 0x18007def6\nmovzx   eax, bl                                                        ; +0xeb, 0x18007defb\nmov     rbx, [rsp+68h+var_8]                                           ; +0xee, 0x18007defe\nmov     rcx, [rsp+68h+var_18]                                          ; +0xf3, 0x18007df03\nxor     rcx, rsp; StackCookie                                          ; +0xf8, 0x18007df08\ncall    __security_check_cookie                                        ; +0xfb, 0x18007df0b\nadd     rsp, 68h                                                       ; +0x100, 0x18007df10\nretn                                                                   ; +0x104, 0x18007df14", "xrefs": ["<???> @ 0x1801077d8", "<???> @ 0x18014cf68", "<???> @ 0x1801befb0"], "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"}