; ; cocos2d::CCDirector::getClassTypeInfo from 0x1800be520 to 0x1800be5f8 (216 bytes) ; ; 6 xrefs: ; > @ 0x180107370 ; > @ 0x180107480 ; > @ 0x180141de8 ; > @ 0x180141e04 ; > @ 0x1801438a8 ; > @ 0x1801b9198 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; sub rsp, 28h ; +0x0, 0x1800be520 mov ecx, cs:TlsIndex ; +0x4, 0x1800be524 mov rax, gs:58h ; +0xa, 0x1800be52a mov edx, 4 ; +0x13, 0x1800be533 mov rax, [rax+rcx*8] ; +0x18, 0x1800be538 mov eax, [rdx+rax] ; +0x1c, 0x1800be53c cmp cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, eax ; +0x1f, 0x1800be53f jg short loc_1800BE55D ; +0x25, 0x1800be545 mov eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0x27, 0x1800be547 add rsp, 28h ; +0x2d, 0x1800be54d retn ; +0x31, 0x1800be551 inc rax ; +0x32, 0x1800be552 cmp byte ptr [rbx+rax], 0 ; +0x35, 0x1800be555 jz short loc_1800BE5A0 ; +0x39, 0x1800be559 jmp short loc_1800BE552 ; +0x3b, 0x1800be55b lea rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0x3d, 0x1800be55d call _Init_thread_header ; +0x44, 0x1800be564 cmp cs:?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA, 0FFFFFFFFh ; +0x49, 0x1800be569 jnz short loc_1800BE547 ; +0x50, 0x1800be570 mov [rsp+28h+arg_0], rbx ; +0x52, 0x1800be572 lea rdx, unk_1801AC6A0 ; +0x57, 0x1800be577 mov [rsp+28h+arg_8], rsi ; +0x5e, 0x1800be57e lea rcx, qword_1801A46B8 ; +0x63, 0x1800be583 mov [rsp+28h+var_8], rdi ; +0x6a, 0x1800be58a call __std_type_info_name ; +0x6f, 0x1800be58f mov rbx, rax ; +0x74, 0x1800be594 mov rax, 0FFFFFFFFFFFFFFFFh ; +0x77, 0x1800be597 jmp short loc_1800BE552 ; +0x7e, 0x1800be59e mov esi, eax ; +0x80, 0x1800be5a0 xor edi, edi ; +0x82, 0x1800be5a2 add rsi, rbx ; +0x84, 0x1800be5a4 cmp rbx, rsi ; +0x87, 0x1800be5a7 jnb short loc_1800BE5CC ; +0x8a, 0x1800be5aa nop dword ptr [rax+00h] ; +0x8c, 0x1800be5ac movsx ecx, byte ptr [rbx]; C ; +0x90, 0x1800be5b0 call cs:toupper ; +0x93, 0x1800be5b3 imul edi, 1000193h ; +0x99, 0x1800be5b9 inc rbx ; +0x9f, 0x1800be5bf movzx edx, al ; +0xa2, 0x1800be5c2 xor edi, edx ; +0xa5, 0x1800be5c5 cmp rbx, rsi ; +0xa7, 0x1800be5c7 jb short loc_1800BE5B0 ; +0xaa, 0x1800be5ca lea rcx, ?$TSS0@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4HA ; +0xac, 0x1800be5cc mov cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB, edi; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0xb3, 0x1800be5d3 call _Init_thread_footer ; +0xb9, 0x1800be5d9 mov rdi, [rsp+28h+var_8] ; +0xbe, 0x1800be5de mov rsi, [rsp+28h+arg_8] ; +0xc3, 0x1800be5e3 mov rbx, [rsp+28h+arg_0] ; +0xc8, 0x1800be5e8 mov eax, cs:?id@?1??getClassTypeInfo@CCDirector@cocos2d@@UEAAJXZ@4JB; long const `cocos2d::CCDirector::getClassTypeInfo(void)'::`2'::id ; +0xcd, 0x1800be5ed add rsp, 28h ; +0xd3, 0x1800be5f3 retn ; +0xd7, 0x1800be5f7