{"type": "func", "start": 6442908848, "end": 6442909064, "name": "cocos2d::CCFileUtils::getClassTypeInfo", "pseudocode": "// \n// cocos2d::CCFileUtils::getClassTypeInfo from 0x18006fcb0 to 0x18006fd88 (216 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x180100338\n// > <???> @ 0x180101060\n// > <???> @ 0x18013a450\n// > <???> @ 0x18013a46c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b41c4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCFileUtils::getClassTypeInfo(cocos2d::CCFileUtils *this)\n{\n  __int64 v2; // rax\n  char *v3; // rbx\n  int v4; // edi\n  char *i; // rsi\n  unsigned __int8 v6; // al\n\n  if ( __TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA <= *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer\n                                                                                   + (unsigned int)TlsIndex)\n                                                                                 + 4LL) )\n    return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;\n  Init_thread_header(&__TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA);\n  if ( __TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA != -1 )\n    return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;\n  v3 = (char *)_std_type_info_name(&qword_1801A45D0, &unk_1801AC6A0);\n  v2 = -1;\n  do\n    ++v2;\n  while ( v3[v2] );\n  v4 = 0;\n  for ( i = &v3[(unsigned int)v2]; v3 < i; v4 = v6 ^ (16777619 * v4) )\n    v6 = toupper(*v3++);\n  `cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id = v4;\n  Init_thread_footer(&__TSS0__1__getClassTypeInfo_CCFileUtils_cocos2d__UEAAJXZ_4HA);\n  return (unsigned int)`cocos2d::CCFileUtils::getClassTypeInfo'::`2'::id;\n}", "assembly": "; \n; cocos2d::CCFileUtils::getClassTypeInfo from 0x18006fcb0 to 0x18006fd88 (216 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x180100338\n; > <???> @ 0x180101060\n; > <???> @ 0x18013a450\n; > <???> @ 0x18013a46c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b41c4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x18006fcb0\nmov     ecx, cs:TlsIndex                                               ; +0x4, 0x18006fcb4\nmov     rax, gs:58h                                                    ; +0xa, 0x18006fcba\nmov     edx, 4                                                         ; +0x13, 0x18006fcc3\nmov     rax, [rax+rcx*8]                                               ; +0x18, 0x18006fcc8\nmov     eax, [rdx+rax]                                                 ; +0x1c, 0x18006fccc\ncmp     cs:?$TSS0@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4HA, eax ; +0x1f, 0x18006fccf\njg      short loc_18006FCED                                            ; +0x25, 0x18006fcd5\nmov     eax, cs:?id@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCFileUtils::getClassTypeInfo(void)'::`2'::id ; +0x27, 0x18006fcd7\nadd     rsp, 28h                                                       ; +0x2d, 0x18006fcdd\nretn                                                                   ; +0x31, 0x18006fce1\ninc     rax                                                            ; +0x32, 0x18006fce2\ncmp     byte ptr [rbx+rax], 0                                          ; +0x35, 0x18006fce5\njz      short loc_18006FD30                                            ; +0x39, 0x18006fce9\njmp     short loc_18006FCE2                                            ; +0x3b, 0x18006fceb\nlea     rcx, ?$TSS0@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4HA ; +0x3d, 0x18006fced\ncall    _Init_thread_header                                            ; +0x44, 0x18006fcf4\ncmp     cs:?$TSS0@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4HA, 0FFFFFFFFh ; +0x49, 0x18006fcf9\njnz     short loc_18006FCD7                                            ; +0x50, 0x18006fd00\nmov     [rsp+28h+arg_0], rbx                                           ; +0x52, 0x18006fd02\nlea     rdx, unk_1801AC6A0                                             ; +0x57, 0x18006fd07\nmov     [rsp+28h+arg_8], rsi                                           ; +0x5e, 0x18006fd0e\nlea     rcx, qword_1801A45D0                                           ; +0x63, 0x18006fd13\nmov     [rsp+28h+var_8], rdi                                           ; +0x6a, 0x18006fd1a\ncall    __std_type_info_name                                           ; +0x6f, 0x18006fd1f\nmov     rbx, rax                                                       ; +0x74, 0x18006fd24\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x77, 0x18006fd27\njmp     short loc_18006FCE2                                            ; +0x7e, 0x18006fd2e\nmov     esi, eax                                                       ; +0x80, 0x18006fd30\nxor     edi, edi                                                       ; +0x82, 0x18006fd32\nadd     rsi, rbx                                                       ; +0x84, 0x18006fd34\ncmp     rbx, rsi                                                       ; +0x87, 0x18006fd37\njnb     short loc_18006FD5C                                            ; +0x8a, 0x18006fd3a\nnop     dword ptr [rax+00h]                                            ; +0x8c, 0x18006fd3c\nmovsx   ecx, byte ptr [rbx]; C                                         ; +0x90, 0x18006fd40\ncall    cs:toupper                                                     ; +0x93, 0x18006fd43\nimul    edi, 1000193h                                                  ; +0x99, 0x18006fd49\ninc     rbx                                                            ; +0x9f, 0x18006fd4f\nmovzx   edx, al                                                        ; +0xa2, 0x18006fd52\nxor     edi, edx                                                       ; +0xa5, 0x18006fd55\ncmp     rbx, rsi                                                       ; +0xa7, 0x18006fd57\njb      short loc_18006FD40                                            ; +0xaa, 0x18006fd5a\nlea     rcx, ?$TSS0@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4HA ; +0xac, 0x18006fd5c\nmov     cs:?id@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4JB, edi; long const `cocos2d::CCFileUtils::getClassTypeInfo(void)'::`2'::id ; +0xb3, 0x18006fd63\ncall    _Init_thread_footer                                            ; +0xb9, 0x18006fd69\nmov     rdi, [rsp+28h+var_8]                                           ; +0xbe, 0x18006fd6e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xc3, 0x18006fd73\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc8, 0x18006fd78\nmov     eax, cs:?id@?1??getClassTypeInfo@CCFileUtils@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCFileUtils::getClassTypeInfo(void)'::`2'::id ; +0xcd, 0x18006fd7d\nadd     rsp, 28h                                                       ; +0xd3, 0x18006fd83\nretn                                                                   ; +0xd7, 0x18006fd87", "xrefs": ["<???> @ 0x180100338", "<???> @ 0x180101060", "<???> @ 0x18013a450", "<???> @ 0x18013a46c", "<???> @ 0x1801438a8", "<???> @ 0x1801b41c4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}