{"type": "func", "start": 4298660416, "end": 4298660627, "name": "-[CCDirectorCaller getFrameForTime:]", "pseudocode": "// \n// -[CCDirectorCaller getFrameForTime:] from 0x100385a40 to 0x100385b13 (211 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdc480\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:09 +0000\n// \n\nint __cdecl -[CCDirectorCaller getFrameForTime:](\n        CCDirectorCaller *self,\n        SEL a2,\n        const $8F4B9B2AE57073CEA795239BBD33D95F *a3)\n{\n  NSAutoreleasePool *v3; // rbx\n  id v4; // r14\n  AppControllerManager *v5; // rax\n  AppController *v6; // rax\n  id v7; // rdi\n  __int64 v8; // rax\n  id v9; // rax\n\n  v3 = objc_alloc_init(&OBJC_CLASS___NSAutoreleasePool);\n  v4 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, \"sharedEGLView\");\n  objc_msgSend(v4, \"lockOpenGLContext\");\n  v5 = +[AppControllerManager sharedInstance](&OBJC_CLASS___AppControllerManager, \"sharedInstance\");\n  v6 = -[AppControllerManager controller](v5, \"controller\");\n  -[AppController dispatchQueuedEvents](v6, \"dispatchQueuedEvents\");\n  v7 = +[CCEventDispatcher sharedDispatcher](&OBJC_CLASS___CCEventDispatcher, \"sharedDispatcher\");\n  objc_msgSend(v7, \"dispatchQueuedEvents\");\n  v8 = cocos2d::CCDirector::sharedDirector(v7, \"dispatchQueuedEvents\");\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 120LL))(v8);\n  v9 = objc_msgSend(v4, \"openGLContext\");\n  objc_msgSend(v9, \"flushBuffer\");\n  objc_msgSend(v4, \"unlockOpenGLContext\");\n  objc_release(v3);\n  return 0;\n}", "assembly": "; \n; -[CCDirectorCaller getFrameForTime:] from 0x100385a40 to 0x100385b13 (211 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdc480\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:09 +0000\n; \npush    rbp                                                            ; +0x0, 0x100385a40\nmov     rbp, rsp                                                       ; +0x1, 0x100385a41\npush    r15                                                            ; +0x4, 0x100385a44\npush    r14                                                            ; +0x6, 0x100385a46\npush    r12                                                            ; +0x8, 0x100385a48\npush    rbx                                                            ; +0xa, 0x100385a4a\nmov     rdi, cs:classRef_NSAutoreleasePool                             ; +0xb, 0x100385a4b\ncall    _objc_alloc_init                                               ; +0x12, 0x100385a52\nmov     rbx, rax                                                       ; +0x17, 0x100385a57\nmov     rdi, cs:classRef_EAGLView; id                                  ; +0x1a, 0x100385a5a\nmov     rsi, cs:selRef_sharedEGLView; SEL                              ; +0x21, 0x100385a61\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x28, 0x100385a68\ncall    r12 ; _objc_msgSend; +[EAGLView sharedEGLView] ...             ; +0x2f, 0x100385a6f\nmov     r14, rax                                                       ; +0x32, 0x100385a72\nmov     rsi, cs:selRef_lockOpenGLContext; SEL                          ; +0x35, 0x100385a75\nmov     rdi, rax; id                                                   ; +0x3c, 0x100385a7c\ncall    r12 ; _objc_msgSend                                            ; +0x3f, 0x100385a7f\nmov     rdi, cs:classRef_AppControllerManager; id                      ; +0x42, 0x100385a82\nmov     rsi, cs:selRef_sharedInstance; SEL                             ; +0x49, 0x100385a89\ncall    r12 ; _objc_msgSend; +[AppControllerManager sharedInstance] ... ; +0x50, 0x100385a90\nmov     rsi, cs:selRef_controller; SEL                                 ; +0x53, 0x100385a93\nmov     rdi, rax; id                                                   ; +0x5a, 0x100385a9a\ncall    r12 ; _objc_msgSend; -[AppControllerManager controller] ...    ; +0x5d, 0x100385a9d\nmov     r15, cs:selRef_dispatchQueuedEvents                            ; +0x60, 0x100385aa0\nmov     rdi, rax; id                                                   ; +0x67, 0x100385aa7\nmov     rsi, r15; SEL                                                  ; +0x6a, 0x100385aaa\ncall    r12 ; _objc_msgSend; -[AppController dispatchQueuedEvents] ... ; +0x6d, 0x100385aad\nmov     rdi, cs:classRef_CCEventDispatcher; id                         ; +0x70, 0x100385ab0\nmov     rsi, cs:selRef_sharedDispatcher; SEL                           ; +0x77, 0x100385ab7\ncall    r12 ; _objc_msgSend; +[CCEventDispatcher sharedDispatcher] ... ; +0x7e, 0x100385abe\nmov     rdi, rax; id                                                   ; +0x81, 0x100385ac1\nmov     rsi, r15; SEL                                                  ; +0x84, 0x100385ac4\ncall    r12 ; _objc_msgSend                                            ; +0x87, 0x100385ac7\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x8a, 0x100385aca\nmov     rcx, [rax]                                                     ; +0x8f, 0x100385acf\nmov     rdi, rax                                                       ; +0x92, 0x100385ad2\ncall    qword ptr [rcx+78h]                                            ; +0x95, 0x100385ad5\nmov     rsi, cs:selRef_openGLContext; SEL                              ; +0x98, 0x100385ad8\nmov     rdi, r14; id                                                   ; +0x9f, 0x100385adf\ncall    r12 ; _objc_msgSend                                            ; +0xa2, 0x100385ae2\nmov     rsi, cs:selRef_flushBuffer; SEL                                ; +0xa5, 0x100385ae5\nmov     rdi, rax; id                                                   ; +0xac, 0x100385aec\ncall    r12 ; _objc_msgSend                                            ; +0xaf, 0x100385aef\nmov     rsi, cs:selRef_unlockOpenGLContext; SEL                        ; +0xb2, 0x100385af2\nmov     rdi, r14; id                                                   ; +0xb9, 0x100385af9\ncall    r12 ; _objc_msgSend                                            ; +0xbc, 0x100385afc\nmov     rdi, rbx; id                                                   ; +0xbf, 0x100385aff\ncall    cs:_objc_release_ptr                                           ; +0xc2, 0x100385b02\nxor     eax, eax                                                       ; +0xc8, 0x100385b08\npop     rbx                                                            ; +0xca, 0x100385b0a\npop     r12                                                            ; +0xcb, 0x100385b0b\npop     r14                                                            ; +0xcd, 0x100385b0d\npop     r15                                                            ; +0xcf, 0x100385b0f\npop     rbp                                                            ; +0xd1, 0x100385b11\nretn                                                                   ; +0xd2, 0x100385b12", "xrefs": ["<???> @ 0x100bdc480"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}