{"type": "func", "start": 6443244864, "end": 6443245073, "name": "cocos2d::CCDirector::getClassTypeInfo", "pseudocode": "// \n// cocos2d::CCDirector::getClassTypeInfo from 0x1800c1d40 to 0x1800c1e11 (209 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x18010dac8\n// > <???> @ 0x18010dbd8\n// > <???> @ 0x18014b154\n// > <???> @ 0x18014b170\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3450\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:25 +0000\n// \n\n__int64 __fastcall cocos2d::CCDirector::getClassTypeInfo(cocos2d::CCDirector *this)\n{\n  const char *v2; // rbx\n  int v3; // edi\n  const char *i; // rsi\n  unsigned __int8 v5; // al\n\n  if ( __TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA <= *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer\n                                                                                  + (unsigned int)TlsIndex)\n                                                                                + 4LL) )\n    return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;\n  sub_1800E4D30(&__TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA);\n  if ( __TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA != -1 )\n    return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;\n  v2 = (const char *)_std_type_info_name(&qword_1801AE6A8, &unk_1801B6720);\n  v3 = 0;\n  for ( i = &v2[(unsigned int)strlen(v2)]; v2 < i; v3 = v5 ^ (16777619 * v3) )\n    v5 = toupper(*v2++);\n  `cocos2d::CCDirector::getClassTypeInfo'::`2'::id = v3;\n  sub_1800E4CC4(&__TSS0__1__getClassTypeInfo_CCDirector_cocos2d__UEAAJXZ_4HA);\n  return (unsigned int)`cocos2d::CCDirector::getClassTypeInfo'::`2'::id;\n}", "assembly": "; \n; cocos2d::CCDirector::getClassTypeInfo from 0x1800c1d40 to 0x1800c1e11 (209 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x18010dac8\n; > <???> @ 0x18010dbd8\n; > <???> @ 0x18014b154\n; > <???> @ 0x18014b170\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3450\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:25 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800c1d40\nmov     ecx, cs:TlsIndex                                               ; +0x4, 0x1800c1d44\nmov     rax, gs:58h                                                    ; +0xa, 0x1800c1d4a\nmov     edx, 4                                                         ; +0x13, 0x1800c1d53\nmov     rax, [rax+rcx*8]                                               ; +0x18, 0x1800c1d58\nmov     eax, [rdx+rax]                                                 ; +0x1c, 0x1800c1d5c\ncmp     cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, eax ; +0x1f, 0x1800c1d5f\njg      short loc_1800C1D9E                                            ; +0x25, 0x1800c1d65\nmov     eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x27, 0x1800c1d67\nadd     rsp, 28h                                                       ; +0x2d, 0x1800c1d6d\nretn                                                                   ; +0x31, 0x1800c1d71\nlea     rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0x32, 0x1800c1d72\nmov     cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB, edi; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x39, 0x1800c1d79\ncall    sub_1800E4CC4                                                  ; +0x3f, 0x1800c1d7f\nmov     rdi, [rsp+28h+var_8]                                           ; +0x44, 0x1800c1d84\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x49, 0x1800c1d89\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1800c1d8e\nmov     eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x53, 0x1800c1d93\nadd     rsp, 28h                                                       ; +0x59, 0x1800c1d99\nretn                                                                   ; +0x5d, 0x1800c1d9d\nlea     rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0x5e, 0x1800c1d9e\ncall    sub_1800E4D30                                                  ; +0x65, 0x1800c1da5\ncmp     cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, 0FFFFFFFFh ; +0x6a, 0x1800c1daa\njnz     short loc_1800C1D67                                            ; +0x71, 0x1800c1db1\nmov     [rsp+28h+arg_0], rbx                                           ; +0x73, 0x1800c1db3\nlea     rdx, unk_1801B6720                                             ; +0x78, 0x1800c1db8\nmov     [rsp+28h+arg_8], rsi                                           ; +0x7f, 0x1800c1dbf\nlea     rcx, qword_1801AE6A8                                           ; +0x84, 0x1800c1dc4\nmov     [rsp+28h+var_8], rdi                                           ; +0x8b, 0x1800c1dcb\ncall    __std_type_info_name                                           ; +0x90, 0x1800c1dd0\nmov     rcx, rax; Str                                                  ; +0x95, 0x1800c1dd5\nmov     rbx, rax                                                       ; +0x98, 0x1800c1dd8\ncall    strlen                                                         ; +0x9b, 0x1800c1ddb\nmov     esi, eax                                                       ; +0xa0, 0x1800c1de0\nxor     edi, edi                                                       ; +0xa2, 0x1800c1de2\nadd     rsi, rbx                                                       ; +0xa4, 0x1800c1de4\ncmp     rbx, rsi                                                       ; +0xa7, 0x1800c1de7\njnb     short loc_1800C1D72                                            ; +0xaa, 0x1800c1dea\nnop     dword ptr [rax+00h]                                            ; +0xac, 0x1800c1dec\nmovsx   ecx, byte ptr [rbx]; C                                         ; +0xb0, 0x1800c1df0\ncall    cs:toupper                                                     ; +0xb3, 0x1800c1df3\nimul    edi, 1000193h                                                  ; +0xb9, 0x1800c1df9\ninc     rbx                                                            ; +0xbf, 0x1800c1dff\nmovzx   edx, al                                                        ; +0xc2, 0x1800c1e02\nxor     edi, edx                                                       ; +0xc5, 0x1800c1e05\ncmp     rbx, rsi                                                       ; +0xc7, 0x1800c1e07\njb      short loc_1800C1DF0                                            ; +0xca, 0x1800c1e0a\njmp     loc_1800C1D72                                                  ; +0xcc, 0x1800c1e0c", "xrefs": ["<???> @ 0x18010dac8", "<???> @ 0x18010dbd8", "<???> @ 0x18014b154", "<???> @ 0x18014b170", "<???> @ 0x18014cf68", "<???> @ 0x1801c3450"], "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"}