{"type": "func", "start": 4297142008, "end": 4297142060, "name": "+[CCDirectorCaller sharedDirectorCaller]", "pseudocode": "// \n// +[CCDirectorCaller sharedDirectorCaller] from 0x100212ef8 to 0x100212f2c (52 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCApplication::run @ 0x1001abf24\n// > cocos2d::CCApplication::setAnimationInterval @ 0x1001abfdc\n// > <???> @ 0x100845d78\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; // x0\n\n  result = (id)qword_10086CA10;\n  if ( !qword_10086CA10 )\n  {\n    result = +[CCDirectorCaller new](&OBJC_CLASS___CCDirectorCaller, \"new\");\n    qword_10086CA10 = (__int64)result;\n  }\n  return result;\n}", "assembly": "; \n; +[CCDirectorCaller sharedDirectorCaller] from 0x100212ef8 to 0x100212f2c (52 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCApplication::run @ 0x1001abf24\n; > cocos2d::CCApplication::setAnimationInterval @ 0x1001abfdc\n; > <???> @ 0x100845d78\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100212ef8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100212efc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100212f00\nADRP            X19, #qword_10086CA10@PAGE                             ; +0xc, 0x100212f04\nLDR             X0, [X19,#qword_10086CA10@PAGEOFF]                     ; +0x10, 0x100212f08\nCBNZ            X0, loc_100212F20                                      ; +0x14, 0x100212f0c\nADRP            X8, #classRef_CCDirectorCaller@PAGE                    ; +0x18, 0x100212f10\nLDR             X0, [X8,#classRef_CCDirectorCaller@PAGEOFF]; _OBJC_CLASS_$_CCDirectorCaller ; +0x1c, 0x100212f14\nBL              _objc_msgSend$new; +[CCDirectorCaller new] ...         ; +0x20, 0x100212f18\nSTR             X0, [X19,#qword_10086CA10@PAGEOFF]                     ; +0x24, 0x100212f1c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x100212f20\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x100212f24\nRET                                                                    ; +0x30, 0x100212f28", "xrefs": ["cocos2d::CCApplication::run @ 0x1001abf24", "cocos2d::CCApplication::setAnimationInterval @ 0x1001abfdc", "<???> @ 0x100845d78"], "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"}