; ; AppDelegate::setupGLView from 0x10065c000 to 0x10065c0b4 (180 bytes) ; ; 1 xrefs: ; > AppDelegate::applicationDidFinishLaunching @ 0x10065c15b ; ; 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 ; cmp byte ptr [rdi+40h], 0 ; +0x0, 0x10065c000 jnz locret_10065C0B3 ; +0x4, 0x10065c004 push rbp ; +0xa, 0x10065c00a mov rbp, rsp ; +0xb, 0x10065c00b push r15 ; +0xe, 0x10065c00e push r14 ; +0x10, 0x10065c010 push r12 ; +0x12, 0x10065c012 push rbx ; +0x14, 0x10065c014 sub rsp, 20h ; +0x15, 0x10065c015 mov r14, rdi ; +0x19, 0x10065c019 lea rbx, [rbp-38h] ; +0x1c, 0x10065c01c movss xmm0, cs:dword_100815D10 ; +0x20, 0x10065c020 movss xmm1, cs:dword_100815D18 ; +0x28, 0x10065c028 mov rdi, rbx ; +0x30, 0x10065c030 call sub_10028CBF0 ; +0x33, 0x10065c033 mov byte ptr [r14+40h], 1 ; +0x38, 0x10065c038 call GameManager__sharedState ; +0x3d, 0x10065c03d call LocalLevelManager__sharedState ; +0x42, 0x10065c042 call cocos2d__CCEGLView__sharedOpenGLView ; +0x47, 0x10065c047 mov r14, rax ; +0x4c, 0x10065c04c call cocos2d__CCDirector__sharedDirector ; +0x4f, 0x10065c04f mov rdi, rax ; +0x54, 0x10065c054 mov rsi, r14 ; +0x57, 0x10065c057 call cocos2d__CCDirector__setOpenGLView ; +0x5a, 0x10065c05a call cocos2d__CCDirector__sharedDirector ; +0x5f, 0x10065c05f mov r15, rax ; +0x64, 0x10065c064 lea r12, [rbp-30h] ; +0x67, 0x10065c067 mov rdi, r12 ; +0x6b, 0x10065c06b mov rsi, rbx ; +0x6e, 0x10065c06e call sub_10028CFC0 ; +0x71, 0x10065c071 mov rax, [r14] ; +0x76, 0x10065c076 mov rdi, r14 ; +0x79, 0x10065c079 call qword ptr [rax+30h] ; +0x7c, 0x10065c07c lea rbx, [rbp-28h] ; +0x7f, 0x10065c07f mov rdi, rbx ; +0x83, 0x10065c083 mov rsi, rax ; +0x86, 0x10065c086 call sub_10028CFC0 ; +0x89, 0x10065c089 call GameManager__sharedState ; +0x8e, 0x10065c08e mov ecx, [rax+3E8h] ; +0x93, 0x10065c093 mov rdi, r15 ; +0x99, 0x10065c099 mov rsi, r12 ; +0x9c, 0x10065c09c mov rdx, rbx ; +0x9f, 0x10065c09f call cocos2d__CCDirector__setupScreenScale ; +0xa2, 0x10065c0a2 add rsp, 20h ; +0xa7, 0x10065c0a7 pop rbx ; +0xab, 0x10065c0ab pop r12 ; +0xac, 0x10065c0ac pop r14 ; +0xae, 0x10065c0ae pop r15 ; +0xb0, 0x10065c0b0 pop rbp ; +0xb2, 0x10065c0b2 retn ; +0xb3, 0x10065c0b3