{"type": "func", "start": 4298141532, "end": 4298141832, "name": "AppDelegate::applicationDidFinishLaunching", "pseudocode": "// \n// AppDelegate::applicationDidFinishLaunching from 0x100306f5c to 0x100307088 (300 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10092b480\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:08 +0000\n// \n\n__int64 __fastcall AppDelegate::applicationDidFinishLaunching(_BYTE *a1)\n{\n  _BYTE *v2; // x20\n  __int64 v3; // x21\n  __int64 v4; // x0\n  __int64 v5; // x21\n  __int64 v6; // x0\n  __int64 v7; // x8\n  __int64 v8; // x0\n  __int64 v9; // x0\n  __int64 v10; // x0\n  __int64 VideoSettings; // x0\n  __int64 v12; // x0\n  __int64 v13; // x0\n  __int64 v14; // x0\n  std::string __str; // [xsp+8h] [xbp-48h] BYREF\n  timeval v17; // [xsp+20h] [xbp-30h] BYREF\n\n  a1[17] = 0;\n  gettimeofday(&v17, nullptr);\n  srand(v17.tv_usec * LODWORD(v17.tv_sec));\n  v2 = (_BYTE *)cocos2d::CCDirector::sharedDirector();\n  v3 = cocos2d::CCFileUtils::sharedFileUtils();\n  sub_100009900(&__str, \"/data/data/com.robtopx.geometryjump/\");\n  std::string::operator=((std::string *)(v3 + 112), &__str);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  AppDelegate::setupGLView((__int64)a1);\n  v4 = cocos2d::CCDirector::setProjection((__int64)v2, 0);\n  CCContentManager::sharedManager(v4);\n  v5 = ObjectDecoder::sharedDecoder();\n  v6 = GJObjectDecoder::sharedDecoder();\n  v7 = v6 + 320;\n  if ( !v6 )\n    v7 = 0;\n  *(_QWORD *)(v5 + 320) = v7;\n  GameManager::sharedState(v6);\n  LocalLevelManager::sharedState();\n  v8 = LocalLevelManager::sharedState();\n  v9 = LocalLevelManager::tryRecoverAutoSaves(v8);\n  v10 = GameManager::sharedState(v9);\n  VideoSettings = GameManager::loadVideoSettings(v10);\n  v12 = GameManager::sharedState(VideoSettings);\n  GameManager::startUpdate(v12);\n  a1[36] = 0;\n  cocos2d::CCDirector::setDepthTest((__int64)v2, 0);\n  v13 = (*(__int64 (__fastcall **)(_BYTE *, double))(*(_QWORD *)v2 + 96LL))(v2, 0.0166666675);\n  v2[217] = 1;\n  a1[34] = 1;\n  AdToolbox::setupAds(v13);\n  v14 = LoadingLayer::scene(0);\n  cocos2d::CCDirector::runWithScene((__int64)v2, v14);\n  return 1;\n}", "assembly": "; \n; AppDelegate::applicationDidFinishLaunching from 0x100306f5c to 0x100307088 (300 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10092b480\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:08 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x100306f5c\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x4, 0x100306f60\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x8, 0x100306f64\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc, 0x100306f68\nADD             X29, SP, #0x50                                         ; +0x10, 0x100306f6c\nMOV             X19, X0                                                ; +0x14, 0x100306f70\nSTRB            WZR, [X0,#0x11]                                        ; +0x18, 0x100306f74\nADD             X0, SP, #0x50+var_30; timeval *                        ; +0x1c, 0x100306f78\nMOV             X1, #0; void *                                         ; +0x20, 0x100306f7c\nBL              _gettimeofday                                          ; +0x24, 0x100306f80\nLDR             W8, [SP,#0x50+var_30.tv_usec]                          ; +0x28, 0x100306f84\nLDR             W9, [SP,#0x50+var_30]                                  ; +0x2c, 0x100306f88\nMUL             W0, W8, W9; unsigned int                               ; +0x30, 0x100306f8c\nBL              _srand                                                 ; +0x34, 0x100306f90\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x38, 0x100306f94\nMOV             X20, X0                                                ; +0x3c, 0x100306f98\nBL              cocos2d__CCFileUtils__sharedFileUtils                  ; +0x40, 0x100306f9c\nMOV             X21, X0                                                ; +0x44, 0x100306fa0\nADRL            X1, aDataDataComRob; \"/data/data/com.robtopx.geometryjump/\" ; +0x48, 0x100306fa4\nADD             X0, SP, #0x50+__str; int                               ; +0x50, 0x100306fac\nBL              sub_100009900                                          ; +0x54, 0x100306fb0\nADD             X0, X21, #0x70 ; 'p'; this                             ; +0x58, 0x100306fb4\nADD             X1, SP, #0x50+__str; __str                             ; +0x5c, 0x100306fb8\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x60, 0x100306fbc\nLDRSB           W8, [SP,#0x50+__str.__r_.__value_+0x17]                ; +0x64, 0x100306fc0\nTBZ             W8, #0x1F, loc_100306FD0                               ; +0x68, 0x100306fc4\nLDR             X0, [SP,#0x50+__str]; __p                              ; +0x6c, 0x100306fc8\nBL              __ZdlPv; operator delete(void *)                       ; +0x70, 0x100306fcc\nMOV             X0, X19                                                ; +0x74, 0x100306fd0\nBL              AppDelegate__setupGLView                               ; +0x78, 0x100306fd4\nMOV             X0, X20                                                ; +0x7c, 0x100306fd8\nMOV             W1, #0                                                 ; +0x80, 0x100306fdc\nBL              cocos2d__CCDirector__setProjection                     ; +0x84, 0x100306fe0\nBL              CCContentManager__sharedManager                        ; +0x88, 0x100306fe4\nBL              ObjectDecoder__sharedDecoder                           ; +0x8c, 0x100306fe8\nMOV             X21, X0                                                ; +0x90, 0x100306fec\nBL              GJObjectDecoder__sharedDecoder                         ; +0x94, 0x100306ff0\nADD             X8, X0, #0x140                                         ; +0x98, 0x100306ff4\nCMP             X0, #0                                                 ; +0x9c, 0x100306ff8\nCSEL            X8, XZR, X8, EQ                                        ; +0xa0, 0x100306ffc\nSTR             X8, [X21,#0x140]                                       ; +0xa4, 0x100307000\nBL              GameManager__sharedState                               ; +0xa8, 0x100307004\nBL              LocalLevelManager__sharedState                         ; +0xac, 0x100307008\nBL              LocalLevelManager__sharedState                         ; +0xb0, 0x10030700c\nBL              LocalLevelManager__tryRecoverAutoSaves                 ; +0xb4, 0x100307010\nBL              GameManager__sharedState                               ; +0xb8, 0x100307014\nBL              GameManager__loadVideoSettings                         ; +0xbc, 0x100307018\nBL              GameManager__sharedState                               ; +0xc0, 0x10030701c\nBL              GameManager__startUpdate                               ; +0xc4, 0x100307020\nSTRB            WZR, [X19,#0x24]                                       ; +0xc8, 0x100307024\nMOV             X0, X20                                                ; +0xcc, 0x100307028\nMOV             W1, #0                                                 ; +0xd0, 0x10030702c\nBL              cocos2d__CCDirector__setDepthTest                      ; +0xd4, 0x100307030\nLDR             X8, [X20]                                              ; +0xd8, 0x100307034\nLDR             X8, [X8,#0x60]                                         ; +0xdc, 0x100307038\nADRP            X9, #qword_10075DCA8@PAGE                              ; +0xe0, 0x10030703c\nLDR             D0, [X9,#qword_10075DCA8@PAGEOFF]                      ; +0xe4, 0x100307040\nMOV             X0, X20                                                ; +0xe8, 0x100307044\nBLR             X8                                                     ; +0xec, 0x100307048\nMOV             W8, #1                                                 ; +0xf0, 0x10030704c\nSTRB            W8, [X20,#0xD9]                                        ; +0xf4, 0x100307050\nSTRB            W8, [X19,#0x22]                                        ; +0xf8, 0x100307054\nBL              AdToolbox__setupAds                                    ; +0xfc, 0x100307058\nMOV             W0, #0                                                 ; +0x100, 0x10030705c\nBL              LoadingLayer__scene                                    ; +0x104, 0x100307060\nMOV             X1, X0                                                 ; +0x108, 0x100307064\nMOV             X0, X20                                                ; +0x10c, 0x100307068\nBL              cocos2d__CCDirector__runWithScene                      ; +0x110, 0x10030706c\nMOV             W0, #1                                                 ; +0x114, 0x100307070\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x118, 0x100307074\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x11c, 0x100307078\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x120, 0x10030707c\nADD             SP, SP, #0x60 ; '`'                                    ; +0x124, 0x100307080\nRET                                                                    ; +0x128, 0x100307084", "xrefs": ["<???> @ 0x10092b480"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}