{"type": "func", "start": 4301676352, "end": 4301676417, "name": "-[EAGLView lockOpenGLContext]", "pseudocode": "// \n// -[EAGLView lockOpenGLContext] from 0x100665f40 to 0x100665f81 (65 bytes)\n// \n// 3 xrefs:\n// > -[AppController applicationDidFinishLaunching:] @ 0x10000775d\n// > -[EAGLView reshape] @ 0x100665f08\n// > <???> @ 0x10099afd0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __cdecl -[EAGLView lockOpenGLContext](EAGLView *self, SEL a2)\n{\n  id v2; // rbx\n  _CGLContextObject *v3; // rax\n\n  v2 = -[EAGLView openGLContext](self, \"openGLContext\");\n  objc_msgSend(v2, \"makeCurrentContext\");\n  v3 = (_CGLContextObject *)objc_msgSend(v2, \"CGLContextObj\");\n  CGLLockContext(v3);\n}", "assembly": "; \n; -[EAGLView lockOpenGLContext] from 0x100665f40 to 0x100665f81 (65 bytes)\n; \n; 3 xrefs:\n; > -[AppController applicationDidFinishLaunching:] @ 0x10000775d\n; > -[EAGLView reshape] @ 0x100665f08\n; > <???> @ 0x10099afd0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100665f40\nmov     rbp, rsp                                                       ; +0x1, 0x100665f41\npush    r14                                                            ; +0x4, 0x100665f44\npush    rbx                                                            ; +0x6, 0x100665f46\nmov     rsi, cs:selRef_openGLContext; SEL                              ; +0x7, 0x100665f47\nmov     r14, cs:_objc_msgSend_ptr                                      ; +0xe, 0x100665f4e\ncall    r14 ; _objc_msgSend; -[EAGLView openGLContext] ...             ; +0x15, 0x100665f55\nmov     rbx, rax                                                       ; +0x18, 0x100665f58\nmov     rsi, cs:selRef_makeCurrentContext; SEL                         ; +0x1b, 0x100665f5b\nmov     rdi, rax; id                                                   ; +0x22, 0x100665f62\ncall    r14 ; _objc_msgSend                                            ; +0x25, 0x100665f65\nmov     rsi, cs:selRef_CGLContextObj; SEL                              ; +0x28, 0x100665f68\nmov     rdi, rbx; id                                                   ; +0x2f, 0x100665f6f\ncall    r14 ; _objc_msgSend                                            ; +0x32, 0x100665f72\nmov     rdi, rax; ctx                                                  ; +0x35, 0x100665f75\npop     rbx                                                            ; +0x38, 0x100665f78\npop     r14                                                            ; +0x39, 0x100665f79\npop     rbp                                                            ; +0x3b, 0x100665f7b\njmp     _CGLLockContext                                                ; +0x3c, 0x100665f7c", "xrefs": ["-[AppController applicationDidFinishLaunching:] @ 0x10000775d", "-[EAGLView reshape] @ 0x100665f08", "<???> @ 0x10099afd0"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}