; ; -[CCDirectorCaller startMainLoop] from 0x100385b20 to 0x100385bbc (156 bytes) ; ; 1 xrefs: ; > @ 0x100bdc498 ; ; 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 12:29:09 +0000 ; push rbp ; +0x0, 0x100385b20 mov rbp, rsp ; +0x1, 0x100385b21 push r15 ; +0x4, 0x100385b24 push r14 ; +0x6, 0x100385b26 push r12 ; +0x8, 0x100385b28 push rbx ; +0xa, 0x100385b2a mov rbx, rdi ; +0xb, 0x100385b2b add rdi, 8; displayLinkOut ; +0xe, 0x100385b2e call _CVDisplayLinkCreateWithActiveCGDisplays ; +0x12, 0x100385b32 mov rdi, [rbx+8]; displayLink ; +0x17, 0x100385b37 lea rsi, callback; callback ; +0x1b, 0x100385b3b mov rdx, rbx; userInfo ; +0x22, 0x100385b42 call _CVDisplayLinkSetOutputCallback ; +0x25, 0x100385b45 mov rdi, cs:classRef_EAGLView; id ; +0x2a, 0x100385b4a mov rsi, cs:selRef_sharedEGLView; SEL ; +0x31, 0x100385b51 mov r12, cs:_objc_msgSend_ptr ; +0x38, 0x100385b58 call r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ... ; +0x3f, 0x100385b5f mov r14, rax ; +0x42, 0x100385b62 mov rsi, cs:selRef_openGLContext; SEL ; +0x45, 0x100385b65 mov rdi, rax; id ; +0x4c, 0x100385b6c call r12 ; _objc_msgSend ; +0x4f, 0x100385b6f mov rsi, cs:selRef_CGLContextObj; SEL ; +0x52, 0x100385b72 mov rdi, rax; id ; +0x59, 0x100385b79 call r12 ; _objc_msgSend ; +0x5c, 0x100385b7c mov r15, rax ; +0x5f, 0x100385b7f mov rsi, cs:selRef_pixelFormat; SEL ; +0x62, 0x100385b82 mov rdi, r14; id ; +0x69, 0x100385b89 call r12 ; _objc_msgSend ; +0x6c, 0x100385b8c mov rsi, cs:selRef_CGLPixelFormatObj; SEL ; +0x6f, 0x100385b8f mov rdi, rax; id ; +0x76, 0x100385b96 call r12 ; _objc_msgSend ; +0x79, 0x100385b99 mov rdi, [rbx+8]; displayLink ; +0x7c, 0x100385b9c mov rsi, r15; cglContext ; +0x80, 0x100385ba0 mov rdx, rax; cglPixelFormat ; +0x83, 0x100385ba3 call _CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext ; +0x86, 0x100385ba6 mov rdi, [rbx+8]; displayLink ; +0x8b, 0x100385bab pop rbx ; +0x8f, 0x100385baf pop r12 ; +0x90, 0x100385bb0 pop r14 ; +0x92, 0x100385bb2 pop r15 ; +0x94, 0x100385bb4 pop rbp ; +0x96, 0x100385bb6 jmp _CVDisplayLinkStart ; +0x97, 0x100385bb7