{"type": "func", "start": 4298752112, "end": 4298752150, "name": "+[CCDirectorCaller sharedDirectorCaller]", "pseudocode": "// \n// +[CCDirectorCaller sharedDirectorCaller] from 0x10039c070 to 0x10039c096 (38 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCApplication::run @ 0x1003294b5\n// > cocos2d::CCApplication::setAnimationInterval @ 0x1003294f0\n// > <???> @ 0x10099a360\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\nid __cdecl +[CCDirectorCaller sharedDirectorCaller](id a1, SEL a2)\n{\n  id result; // rax\n\n  result = (id)qword_1009A0FA0;\n  if ( !qword_1009A0FA0 )\n  {\n    result = objc_alloc_init(&OBJC_CLASS___CCDirectorCaller);\n    qword_1009A0FA0 = (__int64)result;\n  }\n  return result;\n}", "assembly": "; \n; +[CCDirectorCaller sharedDirectorCaller] from 0x10039c070 to 0x10039c096 (38 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCApplication::run @ 0x1003294b5\n; > cocos2d::CCApplication::setAnimationInterval @ 0x1003294f0\n; > <???> @ 0x10099a360\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\nmov     rax, cs:qword_1009A0FA0                                        ; +0x0, 0x10039c070\ntest    rax, rax                                                       ; +0x7, 0x10039c077\njz      short loc_10039C07D                                            ; +0xa, 0x10039c07a\nretn                                                                   ; +0xc, 0x10039c07c\npush    rbp                                                            ; +0xd, 0x10039c07d\nmov     rbp, rsp                                                       ; +0xe, 0x10039c07e\nmov     rdi, cs:classRef_CCDirectorCaller                              ; +0x11, 0x10039c081\ncall    _objc_alloc_init                                               ; +0x18, 0x10039c088\nmov     cs:qword_1009A0FA0, rax                                        ; +0x1d, 0x10039c08d\npop     rbp                                                            ; +0x24, 0x10039c094\nretn                                                                   ; +0x25, 0x10039c095", "xrefs": ["cocos2d::CCApplication::run @ 0x1003294b5", "cocos2d::CCApplication::setAnimationInterval @ 0x1003294f0", "<???> @ 0x10099a360"], "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"}