{"type": "func", "start": 4302550880, "end": 4302551217, "name": "AppDelegate::applicationDidFinishLaunching", "pseudocode": "// \n// AppDelegate::applicationDidFinishLaunching from 0x10073b760 to 0x10073b8b1 (337 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b9ad80\n// \n// This function is hookable on this platform (idp: pc, 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 12:36:26 +0000\n// \n\nchar __fastcall AppDelegate::applicationDidFinishLaunching(_BYTE *a1)\n{\n  _BYTE *v1; // r14\n  __int64 v2; // r15\n  __int64 v3; // r15\n  __int64 v4; // rax\n  __int64 v5; // rcx\n  _QWORD *v6; // rax\n  __int64 v7; // rax\n  _BYTE *v8; // rax\n  timeval v10; // [rsp+0h] [rbp-40h] BYREF\n  std::string __str; // [rsp+10h] [rbp-30h] BYREF\n\n  a1[65] = 0;\n  gettimeofday(&v10, nullptr);\n  srand(LODWORD(v10.tv_sec) * v10.tv_usec);\n  v1 = (_BYTE *)cocos2d::CCDirector::sharedDirector();\n  v2 = cocos2d::CCFileUtils::sharedFileUtils();\n  __str.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x28u);\n  __str.__r_.__value_.__r.__words[0] = 41;\n  __str.__r_.__value_.__l.__size_ = 36;\n  strcpy(__str.__r_.__value_.__l.__data_, \"/data/data/com.robtopx.geometryjump/\");\n  std::string::operator=((std::string *)(v2 + 112), &__str);\n  if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  AppDelegate::setupGLView((__int64)a1);\n  cocos2d::CCDirector::setProjection((__int64)v1, 0);\n  CCContentManager::sharedManager((__int64)v1, 0);\n  v3 = ObjectDecoder::sharedDecoder();\n  v4 = GJObjectDecoder::sharedDecoder();\n  v5 = v4 + 320;\n  if ( !v4 )\n    v5 = 0;\n  *(_QWORD *)(v3 + 320) = v5;\n  GameManager::sharedState();\n  LocalLevelManager::sharedState();\n  v6 = (_QWORD *)LocalLevelManager::sharedState();\n  sub_1006CC260(v6);\n  GameManager::sharedState();\n  GameManager::loadVideoSettings();\n  v7 = GameManager::sharedState();\n  GameManager::startUpdate(v7, 0);\n  a1[84] = 0;\n  cocos2d::CCDirector::setDepthTest((__int64)v1, 0);\n  (*(void (__fastcall **)(_BYTE *, double))(*(_QWORD *)v1 + 96LL))(v1, 0.01666666753590107);\n  v1[217] = 1;\n  a1[82] = 0;\n  AdToolbox::setupAds();\n  v8 = LoadingLayer::scene(0);\n  cocos2d::CCDirector::runWithScene((__int64)v1, (_UNKNOWN **)v8);\n  return 1;\n}", "assembly": "; \n; AppDelegate::applicationDidFinishLaunching from 0x10073b760 to 0x10073b8b1 (337 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b9ad80\n; \n; This function is hookable on this platform (idp: pc, 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 12:36:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x10073b760\nmov     rbp, rsp                                                       ; +0x1, 0x10073b761\npush    r15                                                            ; +0x4, 0x10073b764\npush    r14                                                            ; +0x6, 0x10073b766\npush    rbx                                                            ; +0x8, 0x10073b768\nsub     rsp, 28h                                                       ; +0x9, 0x10073b769\nmov     rbx, rdi                                                       ; +0xd, 0x10073b76d\nmov     byte ptr [rdi+41h], 0                                          ; +0x10, 0x10073b770\nlea     rdi, [rbp+var_40]; timeval *                                   ; +0x14, 0x10073b774\nxor     esi, esi; void *                                               ; +0x18, 0x10073b778\ncall    _gettimeofday                                                  ; +0x1a, 0x10073b77a\nmov     edi, [rbp+var_40.tv_usec]                                      ; +0x1f, 0x10073b77f\nimul    edi, dword ptr [rbp+var_40.tv_sec]; unsigned int               ; +0x22, 0x10073b782\ncall    _srand                                                         ; +0x26, 0x10073b786\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x2b, 0x10073b78b\nmov     r14, rax                                                       ; +0x30, 0x10073b790\ncall    cocos2d__CCFileUtils__sharedFileUtils                          ; +0x33, 0x10073b793\nmov     r15, rax                                                       ; +0x38, 0x10073b798\nmov     edi, 28h ; '('; __sz                                           ; +0x3b, 0x10073b79b\ncall    __Znwm; operator new(ulong)                                    ; +0x40, 0x10073b7a0\nmov     qword ptr [rbp+__str.__r_.__value_+10h], rax                   ; +0x45, 0x10073b7a5\nmov     qword ptr [rbp+__str.__r_.__value_], 29h ; ')'                 ; +0x49, 0x10073b7a9\nmov     qword ptr [rbp+__str.__r_.__value_+8], 24h ; '$'               ; +0x51, 0x10073b7b1\nmovups  xmm0, xmmword ptr cs:aDataDataComRob+10h; \"obtopx.geometryjump/\" ; +0x59, 0x10073b7b9\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x60, 0x10073b7c0\nmovups  xmm0, xmmword ptr cs:aDataDataComRob; \"/data/data/com.robtopx.geometryjump/\" ; +0x64, 0x10073b7c4\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6b, 0x10073b7cb\nmov     dword ptr [rax+20h], 2F706D75h                                 ; +0x6e, 0x10073b7ce\nmov     byte ptr [rax+24h], 0                                          ; +0x75, 0x10073b7d5\nadd     r15, 70h ; 'p'                                                 ; +0x79, 0x10073b7d9\nlea     rsi, [rbp+__str]; __str                                        ; +0x7d, 0x10073b7dd\nmov     rdi, r15; this                                                 ; +0x81, 0x10073b7e1\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x84, 0x10073b7e4\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0x89, 0x10073b7e9\njz      short loc_10073B7F8                                            ; +0x8d, 0x10073b7ed\nmov     rdi, qword ptr [rbp+__str.__r_.__value_+10h]; __p              ; +0x8f, 0x10073b7ef\ncall    __ZdlPv; operator delete(void *)                               ; +0x93, 0x10073b7f3\nmov     rdi, rbx                                                       ; +0x98, 0x10073b7f8\ncall    AppDelegate__setupGLView                                       ; +0x9b, 0x10073b7fb\nmov     rdi, r14                                                       ; +0xa0, 0x10073b800\nxor     esi, esi                                                       ; +0xa3, 0x10073b803\ncall    cocos2d__CCDirector__setProjection                             ; +0xa5, 0x10073b805\ncall    CCContentManager__sharedManager                                ; +0xaa, 0x10073b80a\ncall    ObjectDecoder__sharedDecoder                                   ; +0xaf, 0x10073b80f\nmov     r15, rax                                                       ; +0xb4, 0x10073b814\ncall    GJObjectDecoder__sharedDecoder                                 ; +0xb7, 0x10073b817\nlea     rcx, [rax+140h]                                                ; +0xbc, 0x10073b81c\ntest    rax, rax                                                       ; +0xc3, 0x10073b823\ncmovz   rcx, rax                                                       ; +0xc6, 0x10073b826\nmov     [r15+140h], rcx                                                ; +0xca, 0x10073b82a\ncall    GameManager__sharedState                                       ; +0xd1, 0x10073b831\ncall    LocalLevelManager__sharedState                                 ; +0xd6, 0x10073b836\ncall    LocalLevelManager__sharedState                                 ; +0xdb, 0x10073b83b\nmov     rdi, rax                                                       ; +0xe0, 0x10073b840\ncall    sub_1006CC260                                                  ; +0xe3, 0x10073b843\ncall    GameManager__sharedState                                       ; +0xe8, 0x10073b848\nmov     rdi, rax                                                       ; +0xed, 0x10073b84d\ncall    GameManager__loadVideoSettings                                 ; +0xf0, 0x10073b850\ncall    GameManager__sharedState                                       ; +0xf5, 0x10073b855\nmov     rdi, rax                                                       ; +0xfa, 0x10073b85a\ncall    GameManager__startUpdate                                       ; +0xfd, 0x10073b85d\nmov     byte ptr [rbx+54h], 0                                          ; +0x102, 0x10073b862\nmov     rdi, r14                                                       ; +0x106, 0x10073b866\nxor     esi, esi                                                       ; +0x109, 0x10073b869\ncall    cocos2d__CCDirector__setDepthTest                              ; +0x10b, 0x10073b86b\nmov     rax, [r14]                                                     ; +0x110, 0x10073b870\nmovsd   xmm0, cs:qword_100A085F0                                       ; +0x113, 0x10073b873\nmov     rdi, r14                                                       ; +0x11b, 0x10073b87b\ncall    qword ptr [rax+60h]                                            ; +0x11e, 0x10073b87e\nmov     byte ptr [r14+0D9h], 1                                         ; +0x121, 0x10073b881\nmov     byte ptr [rbx+52h], 0                                          ; +0x129, 0x10073b889\ncall    AdToolbox__setupAds                                            ; +0x12d, 0x10073b88d\nxor     edi, edi                                                       ; +0x132, 0x10073b892\ncall    LoadingLayer__scene                                            ; +0x134, 0x10073b894\nmov     rdi, r14                                                       ; +0x139, 0x10073b899\nmov     rsi, rax                                                       ; +0x13c, 0x10073b89c\ncall    cocos2d__CCDirector__runWithScene                              ; +0x13f, 0x10073b89f\nmov     al, 1                                                          ; +0x144, 0x10073b8a4\nadd     rsp, 28h                                                       ; +0x146, 0x10073b8a6\npop     rbx                                                            ; +0x14a, 0x10073b8aa\npop     r14                                                            ; +0x14b, 0x10073b8ab\npop     r15                                                            ; +0x14d, 0x10073b8ad\npop     rbp                                                            ; +0x14f, 0x10073b8af\nretn                                                                   ; +0x150, 0x10073b8b0", "xrefs": ["<???> @ 0x100b9ad80"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}