; ; -[CCDirectorCaller startMainLoop] from 0x10039c1f0 to 0x10039c28c (156 bytes) ; ; 1 xrefs: ; > @ 0x10099a410 ; ; 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 ; push rbp ; +0x0, 0x10039c1f0 mov rbp, rsp ; +0x1, 0x10039c1f1 push r15 ; +0x4, 0x10039c1f4 push r14 ; +0x6, 0x10039c1f6 push r12 ; +0x8, 0x10039c1f8 push rbx ; +0xa, 0x10039c1fa mov rbx, rdi ; +0xb, 0x10039c1fb add rdi, 8; displayLinkOut ; +0xe, 0x10039c1fe call _CVDisplayLinkCreateWithActiveCGDisplays ; +0x12, 0x10039c202 mov rdi, [rbx+8]; displayLink ; +0x17, 0x10039c207 lea rsi, callback; callback ; +0x1b, 0x10039c20b mov rdx, rbx; userInfo ; +0x22, 0x10039c212 call _CVDisplayLinkSetOutputCallback ; +0x25, 0x10039c215 mov rdi, cs:classRef_EAGLView; id ; +0x2a, 0x10039c21a mov rsi, cs:selRef_sharedEGLView; SEL ; +0x31, 0x10039c221 mov r12, cs:_objc_msgSend_ptr ; +0x38, 0x10039c228 call r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ... ; +0x3f, 0x10039c22f mov r14, rax ; +0x42, 0x10039c232 mov rsi, cs:selRef_openGLContext; SEL ; +0x45, 0x10039c235 mov rdi, rax; id ; +0x4c, 0x10039c23c call r12 ; _objc_msgSend ; +0x4f, 0x10039c23f mov rsi, cs:selRef_CGLContextObj; SEL ; +0x52, 0x10039c242 mov rdi, rax; id ; +0x59, 0x10039c249 call r12 ; _objc_msgSend ; +0x5c, 0x10039c24c mov r15, rax ; +0x5f, 0x10039c24f mov rsi, cs:selRef_pixelFormat; SEL ; +0x62, 0x10039c252 mov rdi, r14; id ; +0x69, 0x10039c259 call r12 ; _objc_msgSend ; +0x6c, 0x10039c25c mov rsi, cs:selRef_CGLPixelFormatObj; SEL ; +0x6f, 0x10039c25f mov rdi, rax; id ; +0x76, 0x10039c266 call r12 ; _objc_msgSend ; +0x79, 0x10039c269 mov rdi, [rbx+8]; displayLink ; +0x7c, 0x10039c26c mov rsi, r15; cglContext ; +0x80, 0x10039c270 mov rdx, rax; cglPixelFormat ; +0x83, 0x10039c273 call _CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext ; +0x86, 0x10039c276 mov rdi, [rbx+8]; displayLink ; +0x8b, 0x10039c27b pop rbx ; +0x8f, 0x10039c27f pop r12 ; +0x90, 0x10039c280 pop r14 ; +0x92, 0x10039c282 pop r15 ; +0x94, 0x10039c284 pop rbp ; +0x96, 0x10039c286 jmp _CVDisplayLinkStart ; +0x97, 0x10039c287