; ; cocos2d::CCDirector::getClassTypeInfo from 0x1800c1d40 to 0x1800c1e11 (209 bytes) ; ; 6 xrefs: ; > @ 0x18010dac8 ; > @ 0x18010dbd8 ; > @ 0x18014b154 ; > @ 0x18014b170 ; > @ 0x18014cf68 ; > @ 0x1801c3450 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:25 +0000 ; sub rsp, 28h ; +0x0, 0x1800c1d40 mov ecx, cs:TlsIndex ; +0x4, 0x1800c1d44 mov rax, gs:58h ; +0xa, 0x1800c1d4a mov edx, 4 ; +0x13, 0x1800c1d53 mov rax, [rax+rcx*8] ; +0x18, 0x1800c1d58 mov eax, [rdx+rax] ; +0x1c, 0x1800c1d5c cmp cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, eax ; +0x1f, 0x1800c1d5f jg short loc_1800C1D9E ; +0x25, 0x1800c1d65 mov eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x27, 0x1800c1d67 add rsp, 28h ; +0x2d, 0x1800c1d6d retn ; +0x31, 0x1800c1d71 lea rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0x32, 0x1800c1d72 mov cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB, edi; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x39, 0x1800c1d79 call sub_1800E4CC4 ; +0x3f, 0x1800c1d7f mov rdi, [rsp+28h+var_8] ; +0x44, 0x1800c1d84 mov rsi, [rsp+28h+arg_8] ; +0x49, 0x1800c1d89 mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x1800c1d8e mov eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x53, 0x1800c1d93 add rsp, 28h ; +0x59, 0x1800c1d99 retn ; +0x5d, 0x1800c1d9d lea rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0x5e, 0x1800c1d9e call sub_1800E4D30 ; +0x65, 0x1800c1da5 cmp cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, 0FFFFFFFFh ; +0x6a, 0x1800c1daa jnz short loc_1800C1D67 ; +0x71, 0x1800c1db1 mov [rsp+28h+arg_0], rbx ; +0x73, 0x1800c1db3 lea rdx, unk_1801B6720 ; +0x78, 0x1800c1db8 mov [rsp+28h+arg_8], rsi ; +0x7f, 0x1800c1dbf lea rcx, qword_1801AE6A8 ; +0x84, 0x1800c1dc4 mov [rsp+28h+var_8], rdi ; +0x8b, 0x1800c1dcb call __std_type_info_name ; +0x90, 0x1800c1dd0 mov rcx, rax; Str ; +0x95, 0x1800c1dd5 mov rbx, rax ; +0x98, 0x1800c1dd8 call strlen ; +0x9b, 0x1800c1ddb mov esi, eax ; +0xa0, 0x1800c1de0 xor edi, edi ; +0xa2, 0x1800c1de2 add rsi, rbx ; +0xa4, 0x1800c1de4 cmp rbx, rsi ; +0xa7, 0x1800c1de7 jnb short loc_1800C1D72 ; +0xaa, 0x1800c1dea nop dword ptr [rax+00h] ; +0xac, 0x1800c1dec movsx ecx, byte ptr [rbx]; C ; +0xb0, 0x1800c1df0 call cs:toupper ; +0xb3, 0x1800c1df3 imul edi, 1000193h ; +0xb9, 0x1800c1df9 inc rbx ; +0xbf, 0x1800c1dff movzx edx, al ; +0xc2, 0x1800c1e02 xor edi, edx ; +0xc5, 0x1800c1e05 cmp rbx, rsi ; +0xc7, 0x1800c1e07 jb short loc_1800C1DF0 ; +0xca, 0x1800c1e0a jmp loc_1800C1D72 ; +0xcc, 0x1800c1e0c