{"type": "func", "start": 4297495200, "end": 4297495492, "name": "AppDelegate::applicationDidFinishLaunching", "pseudocode": "// \n// AppDelegate::applicationDidFinishLaunching from 0x1002692a0 to 0x1002693c4 (292 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007d2750\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\nbool __fastcall AppDelegate::applicationDidFinishLaunching(AppDelegate *a1)\n{\n  cocos2d::CCDirector *v2; // x20\n  cocos2d::CCFileUtils *v3; // x21\n  ObjectDecoder *v4; // x21\n  GJObjectDecoder *v5; // x0\n  ObjectDecoderDelegate *v6; // x8\n  GameManager *v7; // x0\n  GameManager *v8; // x0\n  cocos2d::CCScene *v9; // x0\n  std::string __str; // [xsp+8h] [xbp-48h] BYREF\n  timeval v12; // [xsp+20h] [xbp-30h] BYREF\n\n  a1->m_resourceRootPath.m_data.m_short.shortStorage.__elems_[8] = 0;\n  gettimeofday(&v12, nullptr);\n  srand(v12.tv_usec * LODWORD(v12.tv_sec));\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = cocos2d::CCFileUtils::sharedFileUtils();\n  sub_100009900(&__str, \"/data/data/com.robtopx.geometryjump/\");\n  std::string::operator=((std::string *)&v3[14], &__str);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  AppDelegate::setupGLView(a1);\n  cocos2d::CCDirector::setProjection(v2, kCCDirectorProjection2D);\n  CCContentManager::sharedManager();\n  v4 = ObjectDecoder::sharedDecoder();\n  v5 = GJObjectDecoder::sharedDecoder();\n  v6 = &v5->ObjectDecoderDelegate;\n  if ( !v5 )\n    v6 = nullptr;\n  v4->m_delegate = v6;\n  GameManager::sharedState();\n  LocalLevelManager::sharedState();\n  v7 = GameManager::sharedState();\n  GameManager::loadVideoSettings(v7);\n  v8 = GameManager::sharedState();\n  GameManager::startUpdate(v8);\n  a1->m_startupScriptFilename.m_data.m_short.shortStorage.__elems_[3] = 0;\n  cocos2d::CCDirector::setDepthTest(v2, 0);\n  ((void (__fastcall *)(cocos2d::CCDirector *, double))v2->setAnimationInterval)(v2, 0.0166666675);\n  v2->m_bDisplayStats = 1;\n  a1->m_startupScriptFilename.m_data.m_short.shortStorage.__elems_[1] = 1;\n  AdToolbox::setupAds();\n  v9 = LoadingLayer::scene(0);\n  cocos2d::CCDirector::runWithScene(v2, v9);\n  return 1;\n}", "assembly": "; \n; AppDelegate::applicationDidFinishLaunching from 0x1002692a0 to 0x1002693c4 (292 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007d2750\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\nSUB             SP, SP, #0x60                                          ; +0x0, 0x1002692a0\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x4, 0x1002692a4\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x8, 0x1002692a8\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc, 0x1002692ac\nADD             X29, SP, #0x50                                         ; +0x10, 0x1002692b0\nMOV             X19, X0                                                ; +0x14, 0x1002692b4\nSTRB            WZR, [X0,#0x11]                                        ; +0x18, 0x1002692b8\nADD             X0, SP, #0x50+var_30; timeval *                        ; +0x1c, 0x1002692bc\nMOV             X1, #0; void *                                         ; +0x20, 0x1002692c0\nBL              _gettimeofday                                          ; +0x24, 0x1002692c4\nLDR             W8, [SP,#0x50+var_30.tv_usec]                          ; +0x28, 0x1002692c8\nLDR             W9, [SP,#0x50+var_30]                                  ; +0x2c, 0x1002692cc\nMUL             W0, W8, W9; unsigned int                               ; +0x30, 0x1002692d0\nBL              _srand                                                 ; +0x34, 0x1002692d4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x38, 0x1002692d8\nMOV             X20, X0                                                ; +0x3c, 0x1002692dc\nBL              cocos2d__CCFileUtils__sharedFileUtils                  ; +0x40, 0x1002692e0\nMOV             X21, X0                                                ; +0x44, 0x1002692e4\nADRL            X1, aDataDataComRob; \"/data/data/com.robtopx.geometryjump/\" ; +0x48, 0x1002692e8\nADD             X0, SP, #0x50+__str; int                               ; +0x50, 0x1002692f0\nBL              sub_100009900                                          ; +0x54, 0x1002692f4\nADD             X0, X21, #0x70 ; 'p'; this                             ; +0x58, 0x1002692f8\nADD             X1, SP, #0x50+__str; __str                             ; +0x5c, 0x1002692fc\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x60, 0x100269300\nLDRSB           W8, [SP,#0x50+__str.__r_.__value_+0x17]                ; +0x64, 0x100269304\nTBZ             W8, #0x1F, loc_100269314                               ; +0x68, 0x100269308\nLDR             X0, [SP,#0x50+__str]; __p                              ; +0x6c, 0x10026930c\nBL              __ZdlPv; operator delete(void *)                       ; +0x70, 0x100269310\nMOV             X0, X19                                                ; +0x74, 0x100269314\nBL              AppDelegate__setupGLView                               ; +0x78, 0x100269318\nMOV             X0, X20                                                ; +0x7c, 0x10026931c\nMOV             W1, #0                                                 ; +0x80, 0x100269320\nBL              cocos2d__CCDirector__setProjection                     ; +0x84, 0x100269324\nBL              CCContentManager__sharedManager                        ; +0x88, 0x100269328\nBL              ObjectDecoder__sharedDecoder                           ; +0x8c, 0x10026932c\nMOV             X21, X0                                                ; +0x90, 0x100269330\nBL              GJObjectDecoder__sharedDecoder                         ; +0x94, 0x100269334\nADD             X8, X0, #0x140                                         ; +0x98, 0x100269338\nCMP             X0, #0                                                 ; +0x9c, 0x10026933c\nCSEL            X8, XZR, X8, EQ                                        ; +0xa0, 0x100269340\nSTR             X8, [X21,#0x140]                                       ; +0xa4, 0x100269344\nBL              GameManager__sharedState                               ; +0xa8, 0x100269348\nBL              LocalLevelManager__sharedState                         ; +0xac, 0x10026934c\nBL              GameManager__sharedState                               ; +0xb0, 0x100269350\nBL              GameManager__loadVideoSettings                         ; +0xb4, 0x100269354\nBL              GameManager__sharedState                               ; +0xb8, 0x100269358\nBL              GameManager__startUpdate                               ; +0xbc, 0x10026935c\nSTRB            WZR, [X19,#0x24]                                       ; +0xc0, 0x100269360\nMOV             X0, X20                                                ; +0xc4, 0x100269364\nMOV             W1, #0                                                 ; +0xc8, 0x100269368\nBL              cocos2d__CCDirector__setDepthTest                      ; +0xcc, 0x10026936c\nLDR             X8, [X20]                                              ; +0xd0, 0x100269370\nLDR             X8, [X8,#0x60]                                         ; +0xd4, 0x100269374\nADRP            X9, #qword_100636A88@PAGE                              ; +0xd8, 0x100269378\nLDR             D0, [X9,#qword_100636A88@PAGEOFF]                      ; +0xdc, 0x10026937c\nMOV             X0, X20                                                ; +0xe0, 0x100269380\nBLR             X8                                                     ; +0xe4, 0x100269384\nMOV             W8, #1                                                 ; +0xe8, 0x100269388\nSTRB            W8, [X20,#0xD1]                                        ; +0xec, 0x10026938c\nSTRB            W8, [X19,#0x22]                                        ; +0xf0, 0x100269390\nBL              AdToolbox__setupAds                                    ; +0xf4, 0x100269394\nMOV             W0, #0                                                 ; +0xf8, 0x100269398\nBL              LoadingLayer__scene                                    ; +0xfc, 0x10026939c\nMOV             X1, X0                                                 ; +0x100, 0x1002693a0\nMOV             X0, X20                                                ; +0x104, 0x1002693a4\nBL              cocos2d__CCDirector__runWithScene                      ; +0x108, 0x1002693a8\nMOV             W0, #1                                                 ; +0x10c, 0x1002693ac\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x110, 0x1002693b0\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x114, 0x1002693b4\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x118, 0x1002693b8\nADD             SP, SP, #0x60 ; '`'                                    ; +0x11c, 0x1002693bc\nRET                                                                    ; +0x120, 0x1002693c0", "xrefs": ["<???> @ 0x1007d2750"], "is_objc": false, "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"}