{"type": "func", "start": 5369243088, "end": 5369244216, "name": "AppDelegate::setupGLView", "pseudocode": "// \n// AppDelegate::setupGLView from 0x1400825d0 to 0x140082a38 (1128 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14053c598\n// > <???> @ 0x1406c6a44\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\n// Hidden C++ exception states: #wind=12\nvoid AppDelegate::setupGLView(AppDelegate *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  GameManager *v4; // rcx\n  GameManager *v5; // rcx\n  GameManager *v6; // rdi\n  GameManager *v7; // rbx\n  bool GameVariable; // bl\n  bool v9; // al\n  __int64 v10; // rcx\n  __int64 v11; // rbx\n  void *v12; // rcx\n  __int64 v13; // rax\n  cocos2d::CCDirector *v14; // rax\n  __int64 v15; // rdi\n  struct cocos2d::CCSize v16; // rax\n  struct cocos2d::CCSize v17; // rbx\n  __int64 v18; // rcx\n  cocos2d::CCDirector *v19; // rax\n  cocos2d::CCSize v20; // [rsp+30h] [rbp-29h] BYREF\n  float v21[2]; // [rsp+38h] [rbp-21h] BYREF\n  cocos2d::CCSize v22; // [rsp+40h] [rbp-19h] BYREF\n  void *v23; // [rsp+48h] [rbp-11h]\n  cocos2d::CCSize v24; // [rsp+50h] [rbp-9h] BYREF\n  cocos2d::CCRect v25; // [rsp+58h] [rbp-1h] BYREF\n  void *Block[2]; // [rsp+68h] [rbp+Fh] BYREF\n  __int64 v27; // [rsp+78h] [rbp+1Fh]\n  unsigned __int64 v28; // [rsp+80h] [rbp+27h]\n  char v29[14]; // [rsp+88h] [rbp+2Fh] BYREF\n  __int16 v30; // [rsp+96h] [rbp+3Dh]\n  __int64 v31; // [rsp+98h] [rbp+3Fh]\n  __int64 v32; // [rsp+A0h] [rbp+47h]\n\n  if ( !LOBYTE(a1[1].m_saveTime) )\n  {\n    cocos2d::CCSize::CCSize(&v22, 480.0, 320.0);\n    LOBYTE(a1[1].m_saveTime) = 1;\n    v2 = cocos2d::CCFileUtils::sharedFileUtils();\n    (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v2 + 112LL))(v2, \"Resources\");\n    if ( !qword_1406C2ED8 )\n    {\n      v20 = (cocos2d::CCSize)operator new(0x668u);\n      qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    }\n    LocalLevelManager::sharedState();\n    v3 = sub_140077D60();\n    v4 = (GameManager *)qword_1406C2ED8;\n    if ( *(_BYTE *)(v3 + 320) )\n    {\n      if ( !qword_1406C2ED8 )\n      {\n        v20 = (cocos2d::CCSize)operator new(0x668u);\n        qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v4 = (GameManager *)qword_1406C2ED8;\n      }\n      GameManager::setGameVariable(v4, \"0025\", 1);\n      v4 = (GameManager *)qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v20 = (cocos2d::CCSize)operator new(0x668u);\n        qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v4 = (GameManager *)qword_1406C2ED8;\n      }\n      if ( v4->m_resolution <= 0 )\n        v4->m_resolution = 1;\n    }\n    if ( !v4 )\n    {\n      v20 = (cocos2d::CCSize)operator new(0x668u);\n      qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v4 = (GameManager *)qword_1406C2ED8;\n    }\n    if ( GameManager::getGameVariable(v4, \"0025\") )\n    {\n      if ( !qword_1406C2ED8 )\n      {\n        v20 = (cocos2d::CCSize)operator new(0x668u);\n        qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        if ( !qword_1406C2ED8 )\n        {\n          v20 = (cocos2d::CCSize)operator new(0x668u);\n          qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        }\n      }\n      GameManager::resolutionForKey(v5, (int)v21);\n      v31 = 13;\n      v32 = 15;\n      strcpy(v29, \"Geometry Dash\");\n      v30 = 0;\n      v13 = cocos2d::CCRect::CCRect(&v25, 0.0, 0.0, v21[0], v21[1]);\n      v11 = cocos2d::CCEGLView::createWithRect(v29, v13);\n      sub_14003A830((__int64)v29);\n    }\n    else\n    {\n      v27 = 13;\n      v28 = 15;\n      strcpy((char *)Block, \"Geometry Dash\");\n      HIWORD(Block[1]) = 0;\n      v6 = (GameManager *)qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v20 = (cocos2d::CCSize)operator new(0x668u);\n        qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v6 = (GameManager *)qword_1406C2ED8;\n      }\n      v7 = v6;\n      if ( !v6 )\n      {\n        v20 = (cocos2d::CCSize)operator new(0x668u);\n        qword_1406C2ED8 = ((__int64 (__fastcall *)(_QWORD))sub_14017AB00)(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v6 = (GameManager *)qword_1406C2ED8;\n      }\n      GameVariable = GameManager::getGameVariable(v7, \"0175\");\n      v9 = GameManager::getGameVariable(v6, \"0170\");\n      v11 = cocos2d::CCEGLView::createWithFullScreen(Block, v9, GameVariable);\n      if ( v28 > 0xF )\n      {\n        v12 = Block[0];\n        if ( v28 + 1 >= 0x1000 )\n        {\n          v12 = *((void **)Block[0] - 1);\n          if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F )\n            invalid_parameter_noinfo_noreturn();\n        }\n        j_j_free(v12);\n      }\n      v27 = 0;\n      v28 = 15;\n      LOBYTE(Block[0]) = 0;\n    }\n    v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10);\n    cocos2d::CCDirector::setOpenGLView(v14, (struct cocos2d::CCEGLView *)v11);\n    v15 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v23 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(v23);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v15 = qword_1406C2ED8;\n    }\n    cocos2d::CCSize::CCSize(&v20, (const struct cocos2d::CCSize *)(v11 + 216));\n    cocos2d::CCSize::CCSize(&v24, &v22);\n    v17 = v16;\n    v19 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v18);\n    cocos2d::CCDirector::setupScreenScale(\n      v19,\n      v17,\n      (struct cocos2d::CCSize)&v20,\n      *(enum cocos2d::TextureQuality *)(v15 + 1032));\n  }\n}", "assembly": "; \n; AppDelegate::setupGLView from 0x1400825d0 to 0x140082a38 (1128 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14053c598\n; > <???> @ 0x1406c6a44\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\nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x1400825d0\nmov     [rsp-8+arg_10], rdi                                            ; +0x5, 0x1400825d5\npush    rbp                                                            ; +0xa, 0x1400825da\nlea     rbp, [rsp-57h]                                                 ; +0xb, 0x1400825db\nsub     rsp, 0B0h                                                      ; +0x10, 0x1400825e0\nmov     rax, cs:__security_cookie                                      ; +0x17, 0x1400825e7\nxor     rax, rsp                                                       ; +0x1e, 0x1400825ee\nmov     [rbp+57h+var_8], rax                                           ; +0x21, 0x1400825f1\nmov     rbx, rcx                                                       ; +0x25, 0x1400825f5\ncmp     byte ptr [rcx+0D8h], 0                                         ; +0x28, 0x1400825f8\njnz     loc_140082A17                                                  ; +0x2f, 0x1400825ff\nmovss   xmm2, cs:dword_140623450                                       ; +0x35, 0x140082605\nmovss   xmm1, cs:dword_1406234B8                                       ; +0x3d, 0x14008260d\nlea     rcx, [rbp+57h+var_70]                                          ; +0x45, 0x140082615\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x49, 0x140082619\nmov     byte ptr [rbx+0D8h], 1                                         ; +0x4f, 0x14008261f\ncall    cs:?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x56, 0x140082626\nmov     r8, [rax]                                                      ; +0x5c, 0x14008262c\nlea     rdx, aResources; \"Resources\"                                   ; +0x5f, 0x14008262f\nmov     rcx, rax                                                       ; +0x66, 0x140082636\ncall    qword ptr [r8+70h]                                             ; +0x69, 0x140082639\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x6d, 0x14008263d\njnz     short loc_14008266E                                            ; +0x75, 0x140082645\nmov     ecx, 668h; Size                                                ; +0x77, 0x140082647\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7c, 0x14008264c\nmov     [rbp+57h+var_80], rax                                          ; +0x81, 0x140082651\nmov     rcx, rax                                                       ; +0x85, 0x140082655\ncall    sub_14017AB00                                                  ; +0x88, 0x140082658\nnop                                                                    ; +0x8d, 0x14008265d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x8e, 0x14008265e\nmov     rdx, [rax]                                                     ; +0x95, 0x140082665\nmov     rcx, rax                                                       ; +0x98, 0x140082668\ncall    qword ptr [rdx+48h]                                            ; +0x9b, 0x14008266b\ncall    LocalLevelManager__sharedState                                 ; +0x9e, 0x14008266e\ncall    sub_140077D60                                                  ; +0xa3, 0x140082673\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xa8, 0x140082678\ncmp     byte ptr [rax+140h], 0                                         ; +0xaf, 0x14008267f\njz      loc_14008271B                                                  ; +0xb6, 0x140082686\ntest    rcx, rcx                                                       ; +0xbc, 0x14008268c\njnz     short loc_1400826BF                                            ; +0xbf, 0x14008268f\nmov     ecx, 668h; Size                                                ; +0xc1, 0x140082691\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xc6, 0x140082696\nmov     [rbp+57h+var_80], rax                                          ; +0xcb, 0x14008269b\nmov     rcx, rax                                                       ; +0xcf, 0x14008269f\ncall    sub_14017AB00                                                  ; +0xd2, 0x1400826a2\nnop                                                                    ; +0xd7, 0x1400826a7\nmov     cs:qword_1406C2ED8, rax                                        ; +0xd8, 0x1400826a8\nmov     rdx, [rax]                                                     ; +0xdf, 0x1400826af\nmov     rcx, rax                                                       ; +0xe2, 0x1400826b2\ncall    qword ptr [rdx+48h]                                            ; +0xe5, 0x1400826b5\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xe8, 0x1400826b8\nmov     r8b, 1                                                         ; +0xef, 0x1400826bf\nlea     rdx, a0025; \"0025\"                                             ; +0xf2, 0x1400826c2\ncall    GameManager__setGameVariable                                   ; +0xf9, 0x1400826c9\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xfe, 0x1400826ce\ntest    rcx, rcx                                                       ; +0x105, 0x1400826d5\njnz     short loc_140082708                                            ; +0x108, 0x1400826d8\nmov     ecx, 668h; Size                                                ; +0x10a, 0x1400826da\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x10f, 0x1400826df\nmov     [rbp+57h+var_80], rax                                          ; +0x114, 0x1400826e4\nmov     rcx, rax                                                       ; +0x118, 0x1400826e8\ncall    sub_14017AB00                                                  ; +0x11b, 0x1400826eb\nnop                                                                    ; +0x120, 0x1400826f0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x121, 0x1400826f1\nmov     rdx, [rax]                                                     ; +0x128, 0x1400826f8\nmov     rcx, rax                                                       ; +0x12b, 0x1400826fb\ncall    qword ptr [rdx+48h]                                            ; +0x12e, 0x1400826fe\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x131, 0x140082701\ncmp     dword ptr [rcx+404h], 0                                        ; +0x138, 0x140082708\njg      short loc_14008271B                                            ; +0x13f, 0x14008270f\nmov     dword ptr [rcx+404h], 1                                        ; +0x141, 0x140082711\ntest    rcx, rcx                                                       ; +0x14b, 0x14008271b\njnz     short loc_14008274F                                            ; +0x14e, 0x14008271e\nmov     ecx, 668h; Size                                                ; +0x150, 0x140082720\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x155, 0x140082725\nmov     [rbp+57h+var_80], rax                                          ; +0x15a, 0x14008272a\nmov     rcx, rax                                                       ; +0x15e, 0x14008272e\ncall    sub_14017AB00                                                  ; +0x161, 0x140082731\nnop                                                                    ; +0x166, 0x140082736\nmov     cs:qword_1406C2ED8, rax                                        ; +0x167, 0x140082737\nmov     r8, [rax]                                                      ; +0x16e, 0x14008273e\nmov     rcx, rax                                                       ; +0x171, 0x140082741\ncall    qword ptr [r8+48h]                                             ; +0x174, 0x140082744\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x178, 0x140082748\nlea     rdx, a0025; \"0025\"                                             ; +0x17f, 0x14008274f\ncall    GameManager__getGameVariable                                   ; +0x186, 0x140082756\ntest    al, al                                                         ; +0x18b, 0x14008275b\njnz     loc_14008289A                                                  ; +0x18d, 0x14008275d\nxorps   xmm0, xmm0                                                     ; +0x193, 0x140082763\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x196, 0x140082766\nmov     [rbp+57h+var_38], 0Dh                                          ; +0x19a, 0x14008276a\nmov     [rbp+57h+var_30], 0Fh                                          ; +0x1a2, 0x140082772\nmovsd   xmm0, cs:qword_14053C5D8                                       ; +0x1aa, 0x14008277a\nmovsd   [rbp+57h+Block], xmm0                                          ; +0x1b2, 0x140082782\nmov     eax, cs:dword_14053C5E0                                        ; +0x1b7, 0x140082787\nmov     dword ptr [rbp+57h+Block+8], eax                               ; +0x1bd, 0x14008278d\nmovzx   eax, cs:byte_14053C5E4                                         ; +0x1c0, 0x140082790\nmov     byte ptr [rbp+57h+Block+0Ch], al                               ; +0x1c7, 0x140082797\nmov     byte ptr [rbp+57h+Block+0Dh], 0                                ; +0x1ca, 0x14008279a\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x1ce, 0x14008279e\ntest    rdi, rdi                                                       ; +0x1d5, 0x1400827a5\njnz     short loc_1400827D8                                            ; +0x1d8, 0x1400827a8\nmov     ecx, 668h; Size                                                ; +0x1da, 0x1400827aa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1df, 0x1400827af\nmov     [rbp+57h+var_80], rax                                          ; +0x1e4, 0x1400827b4\nmov     rcx, rax                                                       ; +0x1e8, 0x1400827b8\ncall    sub_14017AB00                                                  ; +0x1eb, 0x1400827bb\nnop                                                                    ; +0x1f0, 0x1400827c0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x1f1, 0x1400827c1\nmov     rdx, [rax]                                                     ; +0x1f8, 0x1400827c8\nmov     rcx, rax                                                       ; +0x1fb, 0x1400827cb\ncall    qword ptr [rdx+48h]                                            ; +0x1fe, 0x1400827ce\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x201, 0x1400827d1\nmov     rbx, rdi                                                       ; +0x208, 0x1400827d8\ntest    rdi, rdi                                                       ; +0x20b, 0x1400827db\njnz     short loc_14008280E                                            ; +0x20e, 0x1400827de\nmov     ecx, 668h; Size                                                ; +0x210, 0x1400827e0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x215, 0x1400827e5\nmov     [rbp+57h+var_80], rax                                          ; +0x21a, 0x1400827ea\nmov     rcx, rax                                                       ; +0x21e, 0x1400827ee\ncall    sub_14017AB00                                                  ; +0x221, 0x1400827f1\nnop                                                                    ; +0x226, 0x1400827f6\nmov     cs:qword_1406C2ED8, rax                                        ; +0x227, 0x1400827f7\nmov     rdx, [rax]                                                     ; +0x22e, 0x1400827fe\nmov     rcx, rax                                                       ; +0x231, 0x140082801\ncall    qword ptr [rdx+48h]                                            ; +0x234, 0x140082804\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x237, 0x140082807\nlea     rdx, a0175; \"0175\"                                             ; +0x23e, 0x14008280e\nmov     rcx, rbx                                                       ; +0x245, 0x140082815\ncall    GameManager__getGameVariable                                   ; +0x248, 0x140082818\nmovzx   ebx, al                                                        ; +0x24d, 0x14008281d\nlea     rdx, a0170; \"0170\"                                             ; +0x250, 0x140082820\nmov     rcx, rdi                                                       ; +0x257, 0x140082827\ncall    GameManager__getGameVariable                                   ; +0x25a, 0x14008282a\nmovzx   edx, al                                                        ; +0x25f, 0x14008282f\nmovzx   r8d, bl                                                        ; +0x262, 0x140082832\nlea     rcx, [rbp+57h+Block]                                           ; +0x266, 0x140082836\ncall    cs:?createWithFullScreen@CCEGLView@cocos2d@@SAPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N1@Z; cocos2d::CCEGLView::createWithFullScreen(std::string const &,bool,bool) ; +0x26a, 0x14008283a\nmov     rbx, rax                                                       ; +0x270, 0x140082840\nmov     rdx, [rbp+57h+var_30]                                          ; +0x273, 0x140082843\ncmp     rdx, 0Fh                                                       ; +0x277, 0x140082847\njbe     short loc_140082881                                            ; +0x27b, 0x14008284b\ninc     rdx                                                            ; +0x27d, 0x14008284d\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x280, 0x140082850\nmov     rax, rcx                                                       ; +0x284, 0x140082854\ncmp     rdx, 1000h                                                     ; +0x287, 0x140082857\njb      short loc_14008287C                                            ; +0x28e, 0x14008285e\nadd     rdx, 27h ; '''                                                 ; +0x290, 0x140082860\nmov     rcx, [rcx-8]                                                   ; +0x294, 0x140082864\nsub     rax, rcx                                                       ; +0x298, 0x140082868\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x29b, 0x14008286b\ncmp     rax, 1Fh                                                       ; +0x29f, 0x14008286f\njbe     short loc_14008287C                                            ; +0x2a3, 0x140082873\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x2a5, 0x140082875\nalign 4                                                                ; +0x2ab, 0x14008287b\ncall    j_j_free                                                       ; +0x2ac, 0x14008287c\nmov     [rbp+57h+var_38], 0                                            ; +0x2b1, 0x140082881\nmov     [rbp+57h+var_30], 0Fh                                          ; +0x2b9, 0x140082889\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0x2c1, 0x140082891\njmp     loc_14008298C                                                  ; +0x2c5, 0x140082895\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x2ca, 0x14008289a\ntest    rbx, rbx                                                       ; +0x2d1, 0x1400828a1\njnz     short loc_140082900                                            ; +0x2d4, 0x1400828a4\nmov     ecx, 668h; Size                                                ; +0x2d6, 0x1400828a6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2db, 0x1400828ab\nmov     [rbp+57h+var_80], rax                                          ; +0x2e0, 0x1400828b0\nmov     rcx, rax                                                       ; +0x2e4, 0x1400828b4\ncall    sub_14017AB00                                                  ; +0x2e7, 0x1400828b7\nnop                                                                    ; +0x2ec, 0x1400828bc\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2ed, 0x1400828bd\nmov     rdx, [rax]                                                     ; +0x2f4, 0x1400828c4\nmov     rcx, rax                                                       ; +0x2f7, 0x1400828c7\ncall    qword ptr [rdx+48h]                                            ; +0x2fa, 0x1400828ca\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x2fd, 0x1400828cd\ntest    rbx, rbx                                                       ; +0x304, 0x1400828d4\njnz     short loc_140082900                                            ; +0x307, 0x1400828d7\nmov     ecx, 668h; Size                                                ; +0x309, 0x1400828d9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x30e, 0x1400828de\nmov     [rbp+57h+var_80], rax                                          ; +0x313, 0x1400828e3\nmov     rcx, rax                                                       ; +0x317, 0x1400828e7\ncall    sub_14017AB00                                                  ; +0x31a, 0x1400828ea\nnop                                                                    ; +0x31f, 0x1400828ef\nmov     cs:qword_1406C2ED8, rax                                        ; +0x320, 0x1400828f0\nmov     rdx, [rax]                                                     ; +0x327, 0x1400828f7\nmov     rcx, rax                                                       ; +0x32a, 0x1400828fa\ncall    qword ptr [rdx+48h]                                            ; +0x32d, 0x1400828fd\nmov     r8d, [rbx+404h]                                                ; +0x330, 0x140082900\nlea     rdx, [rbp+57h+var_78]                                          ; +0x337, 0x140082907\ncall    GameManager__resolutionForKey                                  ; +0x33b, 0x14008290b\nxorps   xmm0, xmm0                                                     ; +0x340, 0x140082910\nmovups  [rbp+57h+var_28], xmm0                                         ; +0x343, 0x140082913\nmov     [rbp+57h+var_18], 0Dh                                          ; +0x347, 0x140082917\nmov     [rbp+57h+var_10], 0Fh                                          ; +0x34f, 0x14008291f\nmovsd   xmm0, cs:qword_14053C5D8                                       ; +0x357, 0x140082927\nmovsd   qword ptr [rbp+57h+var_28], xmm0                               ; +0x35f, 0x14008292f\nmov     eax, cs:dword_14053C5E0                                        ; +0x364, 0x140082934\nmov     dword ptr [rbp+57h+var_28+8], eax                              ; +0x36a, 0x14008293a\nmovzx   eax, cs:byte_14053C5E4                                         ; +0x36d, 0x14008293d\nmov     byte ptr [rbp+57h+var_28+0Ch], al                              ; +0x374, 0x140082944\nmov     byte ptr [rbp+57h+var_28+0Dh], 0                               ; +0x377, 0x140082947\nmovss   xmm0, [rbp+57h+var_74]                                         ; +0x37b, 0x14008294b\nmovss   [rsp+0B0h+var_90], xmm0                                        ; +0x380, 0x140082950\nmovss   xmm3, [rbp+57h+var_78]                                         ; +0x386, 0x140082956\nxorps   xmm2, xmm2                                                     ; +0x38b, 0x14008295b\nxorps   xmm1, xmm1                                                     ; +0x38e, 0x14008295e\nlea     rcx, [rbp+57h+var_58]                                          ; +0x391, 0x140082961\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x395, 0x140082965\nmov     rdx, rax                                                       ; +0x39b, 0x14008296b\nmovss   xmm2, cs:flt_140622C24                                         ; +0x39e, 0x14008296e\nlea     rcx, [rbp+57h+var_28]                                          ; +0x3a6, 0x140082976\ncall    cs:?createWithRect@CCEGLView@cocos2d@@SAPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCCRect@2@M@Z; cocos2d::CCEGLView::createWithRect(std::string const &,cocos2d::CCRect,float) ; +0x3aa, 0x14008297a\nmov     rbx, rax                                                       ; +0x3b0, 0x140082980\nlea     rcx, [rbp+57h+var_28]                                          ; +0x3b3, 0x140082983\ncall    sub_14003A830                                                  ; +0x3b7, 0x140082987\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3bc, 0x14008298c\nmov     rcx, rax                                                       ; +0x3c2, 0x140082992\nmov     rdx, rbx                                                       ; +0x3c5, 0x140082995\ncall    cs:?setOpenGLView@CCDirector@cocos2d@@QEAAXPEAVCCEGLView@2@@Z; cocos2d::CCDirector::setOpenGLView(cocos2d::CCEGLView *) ; +0x3c8, 0x140082998\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x3ce, 0x14008299e\ntest    rdi, rdi                                                       ; +0x3d5, 0x1400829a5\njnz     short loc_1400829D8                                            ; +0x3d8, 0x1400829a8\nmov     ecx, 668h; Size                                                ; +0x3da, 0x1400829aa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3df, 0x1400829af\nmov     [rbp+57h+var_68], rax                                          ; +0x3e4, 0x1400829b4\nmov     rcx, rax                                                       ; +0x3e8, 0x1400829b8\ncall    sub_14017AB00                                                  ; +0x3eb, 0x1400829bb\nnop                                                                    ; +0x3f0, 0x1400829c0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x3f1, 0x1400829c1\nmov     rdx, [rax]                                                     ; +0x3f8, 0x1400829c8\nmov     rcx, rax                                                       ; +0x3fb, 0x1400829cb\ncall    qword ptr [rdx+48h]                                            ; +0x3fe, 0x1400829ce\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x401, 0x1400829d1\nlea     rdx, [rbx+0D8h]                                                ; +0x408, 0x1400829d8\nlea     rcx, [rbp+57h+var_80]                                          ; +0x40f, 0x1400829df\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x413, 0x1400829e3\nlea     rdx, [rbp+57h+var_70]                                          ; +0x419, 0x1400829e9\nlea     rcx, [rbp+57h+var_60]                                          ; +0x41d, 0x1400829ed\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x421, 0x1400829f1\nmov     rbx, rax                                                       ; +0x427, 0x1400829f7\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x42a, 0x1400829fa\nmov     rcx, rax                                                       ; +0x430, 0x140082a00\nmov     r9d, [rdi+408h]                                                ; +0x433, 0x140082a03\nlea     r8, [rbp+57h+var_80]                                           ; +0x43a, 0x140082a0a\nmov     rdx, rbx                                                       ; +0x43e, 0x140082a0e\ncall    cs:?setupScreenScale@CCDirector@cocos2d@@QEAAXVCCSize@2@0W4TextureQuality@2@@Z; cocos2d::CCDirector::setupScreenScale(cocos2d::CCSize,cocos2d::CCSize,cocos2d::TextureQuality) ; +0x441, 0x140082a11\nmov     rcx, [rbp+57h+var_8]                                           ; +0x447, 0x140082a17\nxor     rcx, rsp; StackCookie                                          ; +0x44b, 0x140082a1b\ncall    __security_check_cookie                                        ; +0x44e, 0x140082a1e\nlea     r11, [rsp+0B0h+var_s0]                                         ; +0x453, 0x140082a23\nmov     rbx, [r11+18h]                                                 ; +0x45b, 0x140082a2b\nmov     rdi, [r11+20h]                                                 ; +0x45f, 0x140082a2f\nmov     rsp, r11                                                       ; +0x463, 0x140082a33\npop     rbp                                                            ; +0x466, 0x140082a36\nretn                                                                   ; +0x467, 0x140082a37", "xrefs": ["<???> @ 0x14053c598", "<???> @ 0x1406c6a44"], "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"}