{"type": "func", "start": 4157192, "end": 4157518, "name": "AppDelegate::applicationDidFinishLaunching", "pseudocode": "// \n// AppDelegate::applicationDidFinishLaunching from 0x3f6f08 to 0x3f704e (326 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:18 +0000\n// \n\nint __fastcall AppDelegate::applicationDidFinishLaunching(AppDelegate *this)\n{\n  cocos2d::CCDirector *v2; // r0\n  cocos2d::CCFileUtils *v3; // r4\n  int v4; // r0\n  int v5; // r8\n  _BYTE *v6; // r0\n  const char *v7; // r3\n  _DWORD *v8; // r2\n  int v9; // t1\n  char v10; // r5\n  CCContentManager *v11; // r0\n  ObjectDecoder *v12; // r0\n  GJObjectDecoder *v13; // r5\n  GameManager *v14; // r0\n  LocalLevelManager *v15; // r0\n  LocalLevelManager *v16; // r0\n  LocalLevelManager *v17; // r0\n  GameManager *v18; // r0\n  GameManager *v19; // r0\n  GameManager *VideoSettings; // r0\n  GameManager *v21; // r0\n  PlatformToolbox *v22; // r0\n  int v23; // r1\n  int v24; // r2\n  int v25; // r3\n  float v26; // r0\n  AdToolbox *v27; // r0\n  bool v28; // r1\n  cocos2d::CCScene *v29; // r0\n  struct timeval v31; // [sp+0h] [bp-18h] BYREF\n  int v32; // [sp+8h] [bp-10h] BYREF\n  int v33; // [sp+Ch] [bp-Ch]\n  void *v34; // [sp+10h] [bp-8h]\n\n  *((_BYTE *)this + 9) = 0;\n  gettimeofday(&v31, nullptr);\n  srand(v31.tv_sec * v31.tv_usec);\n  *(_QWORD *)&dword_D2B5D0 = v31.tv_sec * v31.tv_usec;\n  v3 = (cocos2d::CCFileUtils *)cocos2d::CCDirector::sharedDirector(v2);\n  v4 = cocos2d::CCFileUtils::sharedFileUtils(v3);\n  v32 = 0;\n  v33 = 0;\n  v34 = nullptr;\n  v5 = v4;\n  v6 = (_BYTE *)operator new(0x30u);\n  v32 = 49;\n  v33 = 36;\n  v7 = \"/data/data/com.robtopx.geometryjump/\";\n  v8 = v6;\n  v34 = v6;\n  do\n  {\n    v9 = *(_DWORD *)v7;\n    v7 += 4;\n    *v8++ = v9;\n  }\n  while ( v7 != \"\" );\n  v6[36] = 0;\n  v10 = v32;\n  std::string::operator=((unsigned __int8 *)(v5 + 56), (unsigned __int8 *)&v32);\n  if ( (v10 & 1) != 0 )\n    operator delete(v34);\n  AppDelegate::setupGLView((int)this);\n  v11 = (CCContentManager *)cocos2d::CCDirector::setProjection(v3, 0);\n  v12 = (ObjectDecoder *)CCContentManager::sharedManager(v11);\n  v13 = (GJObjectDecoder *)ObjectDecoder::sharedDecoder(v12);\n  v14 = (GameManager *)GJObjectDecoder::sharedDecoder(v13);\n  if ( v14 )\n    v14 = (GameManager *)((char *)v14 + 264);\n  *((_DWORD *)v13 + 66) = v14;\n  v15 = (LocalLevelManager *)GameManager::sharedState(v14);\n  v16 = (LocalLevelManager *)LocalLevelManager::sharedState(v15);\n  v17 = (LocalLevelManager *)LocalLevelManager::sharedState(v16);\n  v18 = (GameManager *)LocalLevelManager::tryRecoverAutoSaves(v17);\n  v19 = (GameManager *)GameManager::sharedState(v18);\n  VideoSettings = (GameManager *)GameManager::loadVideoSettings(v19);\n  v21 = (GameManager *)GameManager::sharedState(VideoSettings);\n  GameManager::startUpdate(v21);\n  cocos2d::CCDirector::getContentScaleFactor(v3);\n  *((_BYTE *)this + 20) = 0;\n  v22 = (PlatformToolbox *)cocos2d::CCDirector::setDepthTest(v3, 0);\n  v26 = COERCE_FLOAT(PlatformToolbox::getDeviceRefreshRate(v22, v23, v24, v25));\n  v27 = (AdToolbox *)(*(int (__fastcall **)(cocos2d::CCFileUtils *, _DWORD, _DWORD, _DWORD))(*(_DWORD *)v3 + 48))(\n                       v3,\n                       *(_DWORD *)(*(_DWORD *)v3 + 48),\n                       COERCE_UNSIGNED_INT64((float)(1.0 / v26)),\n                       HIDWORD(COERCE_UNSIGNED_INT64((float)(1.0 / v26))));\n  *((_BYTE *)v3 + 177) = 1;\n  *((_BYTE *)this + 18) = 0;\n  AdToolbox::setupAds(v27);\n  v29 = (cocos2d::CCScene *)LoadingLayer::scene(nullptr, v28);\n  cocos2d::CCDirector::runWithScene(v3, v29);\n  return 1;\n}", "assembly": "; \n; AppDelegate::applicationDidFinishLaunching from 0x3f6f08 to 0x3f704e (326 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:18 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x3f6f08\nSUB             SP, SP, #0x18                                          ; +0x4, 0x3f6f0c\nLDR             R7, =(__stack_chk_guard_ptr - 0x3F6F1A)                ; +0x6, 0x3f6f0e\nMOVS            R5, #0                                                 ; +0x8, 0x3f6f10\nMOV             R1, R5; tz                                             ; +0xa, 0x3f6f12\nSTRB            R5, [R0,#9]                                            ; +0xc, 0x3f6f14\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3f6f16\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x3f6f18\nMOV             R6, R0                                                 ; +0x12, 0x3f6f1a\nMOV             R0, SP; tv                                             ; +0x14, 0x3f6f1c\nLDR             R3, [R7]                                               ; +0x16, 0x3f6f1e\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x3f6f20\nBLX             gettimeofday                                           ; +0x1a, 0x3f6f22\nLDMFD.W         SP, {R0,R3}                                            ; +0x1e, 0x3f6f26\nMULS            R0, R3; unsigned int                                   ; +0x22, 0x3f6f2a\nBLX             srand                                                  ; +0x24, 0x3f6f2c\nLDR             R2, [SP,#0x18+var_14]                                  ; +0x28, 0x3f6f30\nLDR             R3, [SP,#0x18+var_18]                                  ; +0x2a, 0x3f6f32\nLDR             R1, =(dword_D2B5D0 - 0x3F6F3C)                         ; +0x2c, 0x3f6f34\nMULS            R3, R2                                                 ; +0x2e, 0x3f6f36\nADD             R1, PC; dword_D2B5D0                                   ; +0x30, 0x3f6f38\nMOV             R2, R3                                                 ; +0x32, 0x3f6f3a\nASRS            R3, R3, #0x1F                                          ; +0x34, 0x3f6f3c\nSTRD.W          R2, R3, [R1]                                           ; +0x36, 0x3f6f3e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x3a, 0x3f6f42\nMOV             R4, R0                                                 ; +0x3e, 0x3f6f46\nBL              _ZN7cocos2d11CCFileUtils15sharedFileUtilsEv; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x40, 0x3f6f48\nSTR             R5, [SP,#0x18+var_10]                                  ; +0x44, 0x3f6f4c\nSTR             R5, [SP,#0x18+var_C]                                   ; +0x46, 0x3f6f4e\nSTR             R5, [SP,#0x18+var_8]                                   ; +0x48, 0x3f6f50\nMOV             R8, R0                                                 ; +0x4a, 0x3f6f52\nMOVS            R0, #0x30 ; '0'; unsigned int                          ; +0x4c, 0x3f6f54\nBL              _Znwj; operator new(uint)                              ; +0x4e, 0x3f6f56\nMOVS            R3, #0x31 ; '1'                                        ; +0x52, 0x3f6f5a\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x54, 0x3f6f5c\nMOVS            R3, #0x24 ; '$'                                        ; +0x56, 0x3f6f5e\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x58, 0x3f6f60\nLDR             R3, =(aDataDataComRob - 0x3F6F68); \"/data/data/com.robtopx.geometryjump/\" ; +0x5a, 0x3f6f62\nADD             R3, PC; \"/data/data/com.robtopx.geometryjump/\"         ; +0x5c, 0x3f6f64\nADD.W           R1, R3, #(aDataDataComRob+0x24 - 0xB6B2F6); \"\"         ; +0x5e, 0x3f6f66\nMOV             R2, R0                                                 ; +0x62, 0x3f6f6a\nSTR             R0, [SP,#0x18+var_8]                                   ; +0x64, 0x3f6f6c\nLDR.W           R5, [R3],#4                                            ; +0x66, 0x3f6f6e\nCMP             R3, R1                                                 ; +0x6a, 0x3f6f72\nSTR.W           R5, [R2],#4                                            ; +0x6c, 0x3f6f74\nBNE             loc_3F6F6E                                             ; +0x70, 0x3f6f78\nMOVS            R3, #0                                                 ; +0x72, 0x3f6f7a\nADD             R1, SP, #0x18+var_10                                   ; +0x74, 0x3f6f7c\nSTRB.W          R3, [R0,#0x24]                                         ; +0x76, 0x3f6f7e\nADD.W           R0, R8, #0x38 ; '8'                                    ; +0x7a, 0x3f6f82\nLDRB.W          R5, [SP,#0x18+var_10]                                  ; +0x7e, 0x3f6f86\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x82, 0x3f6f8a\nLSLS            R2, R5, #0x1F                                          ; +0x86, 0x3f6f8e\nBPL             loc_3F6F98                                             ; +0x88, 0x3f6f90\nLDR             R0, [SP,#0x18+var_8]; void *                           ; +0x8a, 0x3f6f92\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0x3f6f94\nMOV             R0, R6; this                                           ; +0x90, 0x3f6f98\nBL              _ZN11AppDelegate11setupGLViewEv; AppDelegate::setupGLView(void) ; +0x92, 0x3f6f9a\nMOVS            R1, #0                                                 ; +0x96, 0x3f6f9e\nMOV             R0, R4                                                 ; +0x98, 0x3f6fa0\nBL              _ZN7cocos2d10CCDirector13setProjectionENS_20ccDirectorProjectionE; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x9a, 0x3f6fa2\nBL              _ZN16CCContentManager13sharedManagerEv; CCContentManager::sharedManager(void) ; +0x9e, 0x3f6fa6\nBL              _ZN13ObjectDecoder13sharedDecoderEv; ObjectDecoder::sharedDecoder(void) ; +0xa2, 0x3f6faa\nMOV             R5, R0                                                 ; +0xa6, 0x3f6fae\nBL              _ZN15GJObjectDecoder13sharedDecoderEv; GJObjectDecoder::sharedDecoder(void) ; +0xa8, 0x3f6fb0\nCBZ             R0, loc_3F6FBA                                         ; +0xac, 0x3f6fb4\nADD.W           R0, R0, #0x108; this                                   ; +0xae, 0x3f6fb6\nSTR.W           R0, [R5,#0x108]                                        ; +0xb2, 0x3f6fba\nMOVS            R5, #0                                                 ; +0xb6, 0x3f6fbe\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xb8, 0x3f6fc0\nMOV.W           R8, #1                                                 ; +0xbc, 0x3f6fc4\nBL              _ZN17LocalLevelManager11sharedStateEv; LocalLevelManager::sharedState(void) ; +0xc0, 0x3f6fc8\nBL              _ZN17LocalLevelManager11sharedStateEv; LocalLevelManager::sharedState(void) ; +0xc4, 0x3f6fcc\nBL              _ZN17LocalLevelManager19tryRecoverAutoSavesEv; LocalLevelManager::tryRecoverAutoSaves(void) ; +0xc8, 0x3f6fd0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xcc, 0x3f6fd4\nBL              _ZN11GameManager17loadVideoSettingsEv; GameManager::loadVideoSettings(void) ; +0xd0, 0x3f6fd8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xd4, 0x3f6fdc\nBL              _ZN11GameManager11startUpdateEv; GameManager::startUpdate(void) ; +0xd8, 0x3f6fe0\nMOV             R0, R4; this                                           ; +0xdc, 0x3f6fe4\nBL              _ZN7cocos2d10CCDirector21getContentScaleFactorEv; cocos2d::CCDirector::getContentScaleFactor(void) ; +0xde, 0x3f6fe6\nMOV             R1, R5; bool                                           ; +0xe2, 0x3f6fea\nMOV             R0, R4; this                                           ; +0xe4, 0x3f6fec\nSTRB            R5, [R6,#0x14]                                         ; +0xe6, 0x3f6fee\nBL              _ZN7cocos2d10CCDirector12setDepthTestEb; cocos2d::CCDirector::setDepthTest(bool) ; +0xe8, 0x3f6ff0\nBL              _ZN15PlatformToolbox20getDeviceRefreshRateEv; PlatformToolbox::getDeviceRefreshRate(void) ; +0xec, 0x3f6ff4\nVMOV.F32        S15, #1.0                                              ; +0xf0, 0x3f6ff8\nLDR             R3, [R4]                                               ; +0xf4, 0x3f6ffc\nLDR             R1, [R3,#0x30]                                         ; +0xf6, 0x3f6ffe\nVMOV            S14, R0                                                ; +0xf8, 0x3f7000\nMOV             R0, R4                                                 ; +0xfc, 0x3f7004\nVDIV.F32        S15, S15, S14                                          ; +0xfe, 0x3f7006\nVCVT.F64.F32    D7, S15                                                ; +0x102, 0x3f700a\nVMOV            R2, R3, D7                                             ; +0x106, 0x3f700e\nBLX             R1                                                     ; +0x10a, 0x3f7012\nSTRB.W          R8, [R4,#0xB1]                                         ; +0x10c, 0x3f7014\nSTRB            R5, [R6,#0x12]                                         ; +0x110, 0x3f7018\nBL              _ZN9AdToolbox8setupAdsEv; AdToolbox::setupAds(void)    ; +0x112, 0x3f701a\nMOV             R0, R5; this                                           ; +0x116, 0x3f701e\nBL              _ZN12LoadingLayer5sceneEb; LoadingLayer::scene(bool)   ; +0x118, 0x3f7020\nMOV             R1, R0; cocos2d::CCScene *                             ; +0x11c, 0x3f7024\nMOV             R0, R4; this                                           ; +0x11e, 0x3f7026\nBL              _ZN7cocos2d10CCDirector12runWithSceneEPNS_7CCSceneE; cocos2d::CCDirector::runWithScene(cocos2d::CCScene *) ; +0x120, 0x3f7028\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x124, 0x3f702c\nLDR             R3, [R7]                                               ; +0x126, 0x3f702e\nMOV             R0, R8                                                 ; +0x128, 0x3f7030\nCMP             R2, R3                                                 ; +0x12a, 0x3f7032\nBEQ             loc_3F7048                                             ; +0x12c, 0x3f7034\nBLX             __stack_chk_fail                                       ; +0x12e, 0x3f7036\nLSLS            R3, R5, #0x1F                                          ; +0x132, 0x3f703a\nBPL             loc_3F7044                                             ; +0x134, 0x3f703c\nLDR             R0, [SP,#0x18+var_8]; void *                           ; +0x136, 0x3f703e\nBL              _ZdlPv; operator delete(void *)                        ; +0x138, 0x3f7040\nBL              __cxa_end_cleanup                                      ; +0x13c, 0x3f7044\nADD             SP, SP, #0x18                                          ; +0x140, 0x3f7048\nPOP.W           {R4-R8,PC}                                             ; +0x142, 0x3f704a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}