{"type": "func", "start": 5372363264, "end": 5372364655, "name": "GraphicsReloadLayer::performReload", "pseudocode": "// \n// GraphicsReloadLayer::performReload from 0x14037c200 to 0x14037c76f (1391 bytes)\n// \n// 2 xrefs:\n// > VideoOptionsLayer::onApply @ 0x1403788b1\n// > <???> @ 0x1406d5d2c\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=13\nvoid GraphicsReloadLayer::performReload(GraphicsReloadLayer *a1)\n{\n  struct cocos2d::CCScene *v2; // rbx\n  __int64 v3; // rcx\n  cocos2d::CCDirector *v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rcx\n  int v9; // esi\n  __int64 v10; // rcx\n  cocos2d::CCDirector *v11; // rax\n  __int64 v12; // rcx\n  int v13; // ebp\n  GameManager *v14; // rcx\n  char GameVariable; // al\n  char m_fullscreen; // cl\n  GameManager *v17; // rcx\n  GameManager *v18; // rcx\n  bool *p_m_fullscreen; // rbx\n  GameManager *v20; // rcx\n  GameManager *v21; // rcx\n  int height; // ebx\n  int width; // edi\n  cocos2d::CCEGLView *v24; // rax\n  cocos2d::CCEGLView *v25; // rax\n  GameManager *v26; // rcx\n  __int64 v27; // rdi\n  __int64 v28; // rbx\n  struct cocos2d::CCDelayTime *v29; // rax\n  struct cocos2d::CCSequence *v30; // rax\n  GameManager *v31; // rcx\n  GameManager *v32; // rcx\n  GameManager *v33; // rcx\n  GameManager *v34; // rcx\n  GameManager *v35; // rcx\n  __int64 v36; // rax\n  __int64 v37; // rbx\n  __int64 v38; // rcx\n  __int64 v39; // rax\n  __int64 v40; // rdx\n  bool v41; // [rsp+20h] [rbp-48h]\n  bool v42; // [rsp+28h] [rbp-40h]\n  _QWORD v43[7]; // [rsp+30h] [rbp-38h] BYREF\n  _QWORD *v44; // [rsp+70h] [rbp+8h] BYREF\n\n  v2 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(a1);\n  v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);\n  cocos2d::CCDirector::replaceScene(v4, v2);\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v44, a1->m_resolution.width, a1->m_resolution.height);\n  v6 = v5;\n  v7 = cocos2d::CCEGLView::sharedOpenGLView();\n  cocos2d::CCSize::operator=(v7 + 216, v6);\n  v9 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v8) + 392);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10);\n  cocos2d::CCDirector::updateContentScale(v11, a1->m_quality);\n  v13 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v12) + 392);\n  v14 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v44 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v14 = (GameManager *)qword_1406C2ED8;\n  }\n  GameVariable = GameManager::getGameVariable(v14, \"0025\");\n  m_fullscreen = a1->m_fullscreen;\n  if ( GameVariable == m_fullscreen )\n    goto LABEL_25;\n  if ( !m_fullscreen )\n    goto LABEL_11;\n  v17 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v44 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v17 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v17, \"0170\") != a1->m_borderless )\n    goto LABEL_25;\n  v18 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v44 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v18 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v18, \"0175\") != a1->m_fix )\n  {\nLABEL_25:\n    v31 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v31 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v31, \"0025\", !a1->m_fullscreen);\n    v32 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v32 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v32, \"0170\", a1->m_borderless);\n    v33 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v33 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v33, \"0175\", a1->m_fix);\n    v34 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v34 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::reloadAll(v34, 1, a1->m_fullscreen, a1->m_borderless, a1->m_fix, v42);\n  }\n  else\n  {\nLABEL_11:\n    p_m_fullscreen = &a1->m_fullscreen;\n    v20 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v20 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v20, \"0170\", a1->m_borderless);\n    v21 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v44 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      p_m_fullscreen = &a1->m_fullscreen;\n      v21 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v21, \"0175\", a1->m_fix);\n    if ( a1->m_changedResolution && !*p_m_fullscreen )\n    {\n      height = (int)a1->m_resolution.height;\n      width = (int)a1->m_resolution.width;\n      v24 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView();\n      cocos2d::CCEGLView::resizeWindow(v24, width, height);\n      v25 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView();\n      cocos2d::CCEGLView::centerWindow(v25);\n    }\n    if ( v9 == v13 )\n    {\n      v27 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v44 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v27 = qword_1406C2ED8;\n      }\n      v28 = cocos2d::CCCallFunc::create(v27, GameManager::reloadMenu);\n      v29 = cocos2d::CCDelayTime::create(0.1);\n      v30 = cocos2d::CCSequence::create(v29, v28, 0);\n      cocos2d::CCActionManager::addAction(*(GameManager **)(v27 + 264), v30, (struct cocos2d::CCNode *)v27, 0, v41);\n    }\n    else\n    {\n      v26 = (GameManager *)qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v44 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v26 = (GameManager *)qword_1406C2ED8;\n      }\n      GameManager::reloadAll(v26, 0, 0, 0, 0, v42);\n    }\n  }\n  v35 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v44 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v44);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v35 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( GameManager::getGameVariable(v35, \"0115\") )\n  {\n    v44 = v43;\n    v43[2] = 12;\n    v43[3] = 15;\n    v43[0] = *(_QWORD *)\"chatFont.fnt\";\n    v43[1] = *(unsigned int *)\".fnt\";\n    cocos2d::CCPoint::CCPoint(7.1434571e31, 0.0);\n    v37 = v36;\n    v39 = cocos2d::CCDirector::sharedDirector(v38);\n    LOBYTE(v40) = 1;\n    cocos2d::CCDirector::toggleShowFPS(v39, v40, v43, v37);\n  }\n}", "assembly": "; \n; GraphicsReloadLayer::performReload from 0x14037c200 to 0x14037c76f (1391 bytes)\n; \n; 2 xrefs:\n; > VideoOptionsLayer::onApply @ 0x1403788b1\n; > <???> @ 0x1406d5d2c\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+arg_10], rbx                                              ; +0x0, 0x14037c200\npush    rbp                                                            ; +0x5, 0x14037c205\npush    rsi                                                            ; +0x6, 0x14037c206\npush    rdi                                                            ; +0x7, 0x14037c207\nsub     rsp, 50h                                                       ; +0x8, 0x14037c208\nmov     rdi, rcx                                                       ; +0xc, 0x14037c20c\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xf, 0x14037c20f\nmov     rbx, rax                                                       ; +0x15, 0x14037c215\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x14037c218\nmov     rcx, rax                                                       ; +0x1e, 0x14037c21e\nmov     rdx, rbx                                                       ; +0x21, 0x14037c221\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x24, 0x14037c224\nmovss   xmm2, dword ptr [rdi+1A0h]                                     ; +0x2a, 0x14037c22a\nmovss   xmm1, dword ptr [rdi+19Ch]                                     ; +0x32, 0x14037c232\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x3a, 0x14037c23a\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x3f, 0x14037c23f\nmov     rbx, rax                                                       ; +0x45, 0x14037c245\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x48, 0x14037c248\nlea     rcx, [rax+0D8h]                                                ; +0x4e, 0x14037c24e\nmov     rdx, rbx                                                       ; +0x55, 0x14037c255\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x58, 0x14037c258\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5e, 0x14037c25e\nmov     esi, [rax+188h]                                                ; +0x64, 0x14037c264\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x6a, 0x14037c26a\nmov     rcx, rax                                                       ; +0x70, 0x14037c270\nmov     edx, [rdi+198h]                                                ; +0x73, 0x14037c273\ncall    cs:?updateContentScale@CCDirector@cocos2d@@QEAAXW4TextureQuality@2@@Z; cocos2d::CCDirector::updateContentScale(cocos2d::TextureQuality) ; +0x79, 0x14037c279\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x7f, 0x14037c27f\nmov     ebp, [rax+188h]                                                ; +0x85, 0x14037c285\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x8b, 0x14037c28b\ntest    rcx, rcx                                                       ; +0x92, 0x14037c292\njnz     short loc_14037C2C6                                            ; +0x95, 0x14037c295\nmov     ecx, 668h; Size                                                ; +0x97, 0x14037c297\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x9c, 0x14037c29c\nmov     [rsp+68h+arg_0], rax                                           ; +0xa1, 0x14037c2a1\nmov     rcx, rax                                                       ; +0xa6, 0x14037c2a6\ncall    sub_14017AB00                                                  ; +0xa9, 0x14037c2a9\nnop                                                                    ; +0xae, 0x14037c2ae\nmov     cs:qword_1406C2ED8, rax                                        ; +0xaf, 0x14037c2af\nmov     rdx, [rax]                                                     ; +0xb6, 0x14037c2b6\nmov     rcx, rax                                                       ; +0xb9, 0x14037c2b9\ncall    qword ptr [rdx+48h]                                            ; +0xbc, 0x14037c2bc\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xbf, 0x14037c2bf\nlea     rdx, a0025; \"0025\"                                             ; +0xc6, 0x14037c2c6\ncall    GameManager__getGameVariable                                   ; +0xcd, 0x14037c2cd\nmovzx   ecx, byte ptr [rdi+1A4h]                                       ; +0xd2, 0x14037c2d2\ncmp     al, cl                                                         ; +0xd9, 0x14037c2d9\njz      loc_14037C558                                                  ; +0xdb, 0x14037c2db\ntest    cl, cl                                                         ; +0xe1, 0x14037c2e1\njz      loc_14037C38F                                                  ; +0xe3, 0x14037c2e3\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xe9, 0x14037c2e9\ntest    rcx, rcx                                                       ; +0xf0, 0x14037c2f0\njnz     short loc_14037C324                                            ; +0xf3, 0x14037c2f3\nmov     ecx, 668h; Size                                                ; +0xf5, 0x14037c2f5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xfa, 0x14037c2fa\nmov     [rsp+68h+arg_0], rax                                           ; +0xff, 0x14037c2ff\nmov     rcx, rax                                                       ; +0x104, 0x14037c304\ncall    sub_14017AB00                                                  ; +0x107, 0x14037c307\nnop                                                                    ; +0x10c, 0x14037c30c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x10d, 0x14037c30d\nmov     rdx, [rax]                                                     ; +0x114, 0x14037c314\nmov     rcx, rax                                                       ; +0x117, 0x14037c317\ncall    qword ptr [rdx+48h]                                            ; +0x11a, 0x14037c31a\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x11d, 0x14037c31d\nlea     rdx, a0170; \"0170\"                                             ; +0x124, 0x14037c324\ncall    GameManager__getGameVariable                                   ; +0x12b, 0x14037c32b\ncmp     al, [rdi+1A5h]                                                 ; +0x130, 0x14037c330\njnz     loc_14037C558                                                  ; +0x136, 0x14037c336\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x13c, 0x14037c33c\ntest    rcx, rcx                                                       ; +0x143, 0x14037c343\njnz     short loc_14037C377                                            ; +0x146, 0x14037c346\nmov     ecx, 668h; Size                                                ; +0x148, 0x14037c348\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x14d, 0x14037c34d\nmov     [rsp+68h+arg_0], rax                                           ; +0x152, 0x14037c352\nmov     rcx, rax                                                       ; +0x157, 0x14037c357\ncall    sub_14017AB00                                                  ; +0x15a, 0x14037c35a\nnop                                                                    ; +0x15f, 0x14037c35f\nmov     cs:qword_1406C2ED8, rax                                        ; +0x160, 0x14037c360\nmov     rdx, [rax]                                                     ; +0x167, 0x14037c367\nmov     rcx, rax                                                       ; +0x16a, 0x14037c36a\ncall    qword ptr [rdx+48h]                                            ; +0x16d, 0x14037c36d\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x170, 0x14037c370\nlea     rdx, a0175; \"0175\"                                             ; +0x177, 0x14037c377\ncall    GameManager__getGameVariable                                   ; +0x17e, 0x14037c37e\ncmp     al, [rdi+1A6h]                                                 ; +0x183, 0x14037c383\njnz     loc_14037C558                                                  ; +0x189, 0x14037c389\nmov     eax, 1A4h                                                      ; +0x18f, 0x14037c38f\nmov     rcx, rdi                                                       ; +0x194, 0x14037c394\nlea     rbx, [rax+rcx]                                                 ; +0x197, 0x14037c397\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x19b, 0x14037c39b\ntest    rcx, rcx                                                       ; +0x1a2, 0x14037c3a2\njnz     short loc_14037C3D6                                            ; +0x1a5, 0x14037c3a5\nmov     ecx, 668h; Size                                                ; +0x1a7, 0x14037c3a7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1ac, 0x14037c3ac\nmov     [rsp+68h+arg_0], rax                                           ; +0x1b1, 0x14037c3b1\nmov     rcx, rax                                                       ; +0x1b6, 0x14037c3b6\ncall    sub_14017AB00                                                  ; +0x1b9, 0x14037c3b9\nnop                                                                    ; +0x1be, 0x14037c3be\nmov     cs:qword_1406C2ED8, rax                                        ; +0x1bf, 0x14037c3bf\nmov     rdx, [rax]                                                     ; +0x1c6, 0x14037c3c6\nmov     rcx, rax                                                       ; +0x1c9, 0x14037c3c9\ncall    qword ptr [rdx+48h]                                            ; +0x1cc, 0x14037c3cc\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x1cf, 0x14037c3cf\nmovzx   r8d, byte ptr [rdi+1A5h]                                       ; +0x1d6, 0x14037c3d6\nlea     rdx, a0170; \"0170\"                                             ; +0x1de, 0x14037c3de\ncall    GameManager__setGameVariable                                   ; +0x1e5, 0x14037c3e5\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x1ea, 0x14037c3ea\ntest    rcx, rcx                                                       ; +0x1f1, 0x14037c3f1\njnz     short loc_14037C42C                                            ; +0x1f4, 0x14037c3f4\nmov     ecx, 668h; Size                                                ; +0x1f6, 0x14037c3f6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1fb, 0x14037c3fb\nmov     [rsp+68h+arg_0], rax                                           ; +0x200, 0x14037c400\nmov     rcx, rax                                                       ; +0x205, 0x14037c405\ncall    sub_14017AB00                                                  ; +0x208, 0x14037c408\nnop                                                                    ; +0x20d, 0x14037c40d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x20e, 0x14037c40e\nmov     rdx, [rax]                                                     ; +0x215, 0x14037c415\nmov     rcx, rax                                                       ; +0x218, 0x14037c418\ncall    qword ptr [rdx+48h]                                            ; +0x21b, 0x14037c41b\nlea     rbx, [rdi+1A4h]                                                ; +0x21e, 0x14037c41e\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x225, 0x14037c425\nmovzx   r8d, byte ptr [rdi+1A6h]                                       ; +0x22c, 0x14037c42c\nlea     rdx, a0175; \"0175\"                                             ; +0x234, 0x14037c434\ncall    GameManager__setGameVariable                                   ; +0x23b, 0x14037c43b\ncmp     byte ptr [rdi+1A7h], 0                                         ; +0x240, 0x14037c440\njz      short loc_14037C481                                            ; +0x247, 0x14037c447\ncmp     byte ptr [rbx], 0                                              ; +0x249, 0x14037c449\njnz     short loc_14037C481                                            ; +0x24c, 0x14037c44c\ncvttss2si ebx, dword ptr [rdi+1A0h]                                    ; +0x24e, 0x14037c44e\ncvttss2si edi, dword ptr [rdi+19Ch]                                    ; +0x256, 0x14037c456\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x25e, 0x14037c45e\nmov     rcx, rax                                                       ; +0x264, 0x14037c464\nmov     r8d, ebx                                                       ; +0x267, 0x14037c467\nmov     edx, edi                                                       ; +0x26a, 0x14037c46a\ncall    cs:?resizeWindow@CCEGLView@cocos2d@@QEAAXHH@Z; cocos2d::CCEGLView::resizeWindow(int,int) ; +0x26c, 0x14037c46c\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x272, 0x14037c472\nmov     rcx, rax                                                       ; +0x278, 0x14037c478\ncall    cs:?centerWindow@CCEGLView@cocos2d@@QEAAXXZ; cocos2d::CCEGLView::centerWindow(void) ; +0x27b, 0x14037c47b\ncmp     esi, ebp                                                       ; +0x281, 0x14037c481\njz      short loc_14037C4D2                                            ; +0x283, 0x14037c483\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x285, 0x14037c485\ntest    rcx, rcx                                                       ; +0x28c, 0x14037c48c\njnz     short loc_14037C4C0                                            ; +0x28f, 0x14037c48f\nmov     ecx, 668h; Size                                                ; +0x291, 0x14037c491\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x296, 0x14037c496\nmov     [rsp+68h+arg_0], rax                                           ; +0x29b, 0x14037c49b\nmov     rcx, rax                                                       ; +0x2a0, 0x14037c4a0\ncall    sub_14017AB00                                                  ; +0x2a3, 0x14037c4a3\nnop                                                                    ; +0x2a8, 0x14037c4a8\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2a9, 0x14037c4a9\nmov     rdx, [rax]                                                     ; +0x2b0, 0x14037c4b0\nmov     rcx, rax                                                       ; +0x2b3, 0x14037c4b3\ncall    qword ptr [rdx+48h]                                            ; +0x2b6, 0x14037c4b6\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x2b9, 0x14037c4b9\nmov     [rsp+68h+var_48], 0                                            ; +0x2c0, 0x14037c4c0\nxor     r9d, r9d                                                       ; +0x2c5, 0x14037c4c5\nxor     r8d, r8d                                                       ; +0x2c8, 0x14037c4c8\nxor     edx, edx                                                       ; +0x2cb, 0x14037c4cb\njmp     loc_14037C6A1                                                  ; +0x2cd, 0x14037c4cd\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x2d2, 0x14037c4d2\ntest    rdi, rdi                                                       ; +0x2d9, 0x14037c4d9\njnz     short loc_14037C50D                                            ; +0x2dc, 0x14037c4dc\nmov     ecx, 668h; Size                                                ; +0x2de, 0x14037c4de\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e3, 0x14037c4e3\nmov     [rsp+68h+arg_0], rax                                           ; +0x2e8, 0x14037c4e8\nmov     rcx, rax                                                       ; +0x2ed, 0x14037c4ed\ncall    sub_14017AB00                                                  ; +0x2f0, 0x14037c4f0\nnop                                                                    ; +0x2f5, 0x14037c4f5\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2f6, 0x14037c4f6\nmov     rdx, [rax]                                                     ; +0x2fd, 0x14037c4fd\nmov     rcx, rax                                                       ; +0x300, 0x14037c500\ncall    qword ptr [rdx+48h]                                            ; +0x303, 0x14037c503\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x306, 0x14037c506\nlea     rdx, GameManager__reloadMenu                                   ; +0x30d, 0x14037c50d\nmov     rcx, rdi                                                       ; +0x314, 0x14037c514\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x317, 0x14037c517\nmov     rbx, rax                                                       ; +0x31d, 0x14037c51d\nmovss   xmm0, cs:dword_140622A10                                       ; +0x320, 0x14037c520\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x328, 0x14037c528\nmov     rcx, rax                                                       ; +0x32e, 0x14037c52e\nxor     r8d, r8d                                                       ; +0x331, 0x14037c531\nmov     rdx, rbx                                                       ; +0x334, 0x14037c534\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x337, 0x14037c537\nmov     rdx, rax                                                       ; +0x33d, 0x14037c53d\nxor     r9d, r9d                                                       ; +0x340, 0x14037c540\nmov     r8, rdi                                                        ; +0x343, 0x14037c543\nmov     rcx, [rdi+108h]                                                ; +0x346, 0x14037c546\ncall    cs:?addAction@CCActionManager@cocos2d@@QEAAXPEAVCCAction@2@PEAVCCNode@2@_N@Z; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0x34d, 0x14037c54d\njmp     loc_14037C6A6                                                  ; +0x353, 0x14037c553\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x358, 0x14037c558\ntest    rcx, rcx                                                       ; +0x35f, 0x14037c55f\njnz     short loc_14037C594                                            ; +0x362, 0x14037c562\nmov     ecx, 668h; Size                                                ; +0x364, 0x14037c564\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x369, 0x14037c569\nmov     [rsp+68h+arg_0], rax                                           ; +0x36e, 0x14037c56e\nmov     rcx, rax                                                       ; +0x373, 0x14037c573\ncall    sub_14017AB00                                                  ; +0x376, 0x14037c576\nnop                                                                    ; +0x37b, 0x14037c57b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x37c, 0x14037c57c\nmov     r8, [rax]                                                      ; +0x383, 0x14037c583\nmov     rcx, rax                                                       ; +0x386, 0x14037c586\ncall    qword ptr [r8+48h]                                             ; +0x389, 0x14037c589\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x38d, 0x14037c58d\ncmp     byte ptr [rdi+1A4h], 0                                         ; +0x394, 0x14037c594\nsetz    r8b                                                            ; +0x39b, 0x14037c59b\nlea     rdx, a0025; \"0025\"                                             ; +0x39f, 0x14037c59f\ncall    GameManager__setGameVariable                                   ; +0x3a6, 0x14037c5a6\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x3ab, 0x14037c5ab\ntest    rcx, rcx                                                       ; +0x3b2, 0x14037c5b2\njnz     short loc_14037C5E6                                            ; +0x3b5, 0x14037c5b5\nmov     ecx, 668h; Size                                                ; +0x3b7, 0x14037c5b7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3bc, 0x14037c5bc\nmov     [rsp+68h+arg_0], rax                                           ; +0x3c1, 0x14037c5c1\nmov     rcx, rax                                                       ; +0x3c6, 0x14037c5c6\ncall    sub_14017AB00                                                  ; +0x3c9, 0x14037c5c9\nnop                                                                    ; +0x3ce, 0x14037c5ce\nmov     cs:qword_1406C2ED8, rax                                        ; +0x3cf, 0x14037c5cf\nmov     rdx, [rax]                                                     ; +0x3d6, 0x14037c5d6\nmov     rcx, rax                                                       ; +0x3d9, 0x14037c5d9\ncall    qword ptr [rdx+48h]                                            ; +0x3dc, 0x14037c5dc\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x3df, 0x14037c5df\nmovzx   r8d, byte ptr [rdi+1A5h]                                       ; +0x3e6, 0x14037c5e6\nlea     rdx, a0170; \"0170\"                                             ; +0x3ee, 0x14037c5ee\ncall    GameManager__setGameVariable                                   ; +0x3f5, 0x14037c5f5\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x3fa, 0x14037c5fa\ntest    rcx, rcx                                                       ; +0x401, 0x14037c601\njnz     short loc_14037C635                                            ; +0x404, 0x14037c604\nmov     ecx, 668h; Size                                                ; +0x406, 0x14037c606\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x40b, 0x14037c60b\nmov     [rsp+68h+arg_0], rax                                           ; +0x410, 0x14037c610\nmov     rcx, rax                                                       ; +0x415, 0x14037c615\ncall    sub_14017AB00                                                  ; +0x418, 0x14037c618\nnop                                                                    ; +0x41d, 0x14037c61d\nmov     cs:qword_1406C2ED8, rax                                        ; +0x41e, 0x14037c61e\nmov     rdx, [rax]                                                     ; +0x425, 0x14037c625\nmov     rcx, rax                                                       ; +0x428, 0x14037c628\ncall    qword ptr [rdx+48h]                                            ; +0x42b, 0x14037c62b\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x42e, 0x14037c62e\nmovzx   r8d, byte ptr [rdi+1A6h]                                       ; +0x435, 0x14037c635\nlea     rdx, a0175; \"0175\"                                             ; +0x43d, 0x14037c63d\ncall    GameManager__setGameVariable                                   ; +0x444, 0x14037c644\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x449, 0x14037c649\ntest    rcx, rcx                                                       ; +0x450, 0x14037c650\njnz     short loc_14037C684                                            ; +0x453, 0x14037c653\nmov     ecx, 668h; Size                                                ; +0x455, 0x14037c655\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x45a, 0x14037c65a\nmov     [rsp+68h+arg_0], rax                                           ; +0x45f, 0x14037c65f\nmov     rcx, rax                                                       ; +0x464, 0x14037c664\ncall    sub_14017AB00                                                  ; +0x467, 0x14037c667\nnop                                                                    ; +0x46c, 0x14037c66c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x46d, 0x14037c66d\nmov     rdx, [rax]                                                     ; +0x474, 0x14037c674\nmov     rcx, rax                                                       ; +0x477, 0x14037c677\ncall    qword ptr [rdx+48h]                                            ; +0x47a, 0x14037c67a\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x47d, 0x14037c67d\nmovzx   eax, byte ptr [rdi+1A6h]                                       ; +0x484, 0x14037c684\nmov     [rsp+68h+var_48], al                                           ; +0x48b, 0x14037c68b\nmovzx   r9d, byte ptr [rdi+1A5h]                                       ; +0x48f, 0x14037c68f\nmovzx   r8d, byte ptr [rdi+1A4h]                                       ; +0x497, 0x14037c697\nmov     dl, 1                                                          ; +0x49f, 0x14037c69f\ncall    GameManager__reloadAll                                         ; +0x4a1, 0x14037c6a1\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4a6, 0x14037c6a6\ntest    rcx, rcx                                                       ; +0x4ad, 0x14037c6ad\njnz     short loc_14037C6E1                                            ; +0x4b0, 0x14037c6b0\nmov     ecx, 668h; Size                                                ; +0x4b2, 0x14037c6b2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b7, 0x14037c6b7\nmov     [rsp+68h+arg_0], rax                                           ; +0x4bc, 0x14037c6bc\nmov     rcx, rax                                                       ; +0x4c1, 0x14037c6c1\ncall    sub_14017AB00                                                  ; +0x4c4, 0x14037c6c4\nnop                                                                    ; +0x4c9, 0x14037c6c9\nmov     cs:qword_1406C2ED8, rax                                        ; +0x4ca, 0x14037c6ca\nmov     rdx, [rax]                                                     ; +0x4d1, 0x14037c6d1\nmov     rcx, rax                                                       ; +0x4d4, 0x14037c6d4\ncall    qword ptr [rdx+48h]                                            ; +0x4d7, 0x14037c6d7\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4da, 0x14037c6da\nlea     rdx, a0115; \"0115\"                                             ; +0x4e1, 0x14037c6e1\ncall    GameManager__getGameVariable                                   ; +0x4e8, 0x14037c6e8\ntest    al, al                                                         ; +0x4ed, 0x14037c6ed\njz      short loc_14037C75F                                            ; +0x4ef, 0x14037c6ef\nlea     rax, [rsp+68h+var_38]                                          ; +0x4f1, 0x14037c6f1\nmov     [rsp+68h+arg_0], rax                                           ; +0x4f6, 0x14037c6f6\nxorps   xmm0, xmm0                                                     ; +0x4fb, 0x14037c6fb\nmovups  [rsp+68h+var_38], xmm0                                         ; +0x4fe, 0x14037c6fe\nmov     [rsp+68h+var_28], 0Ch                                          ; +0x503, 0x14037c703\nmov     [rsp+68h+var_20], 0Fh                                          ; +0x50c, 0x14037c70c\nmovsd   xmm0, qword ptr cs:aChatfontFnt; \"chatFont.fnt\"                ; +0x515, 0x14037c715\nmovsd   qword ptr [rsp+68h+var_38], xmm0                               ; +0x51d, 0x14037c71d\nmov     eax, dword ptr cs:aChatfontFnt+8; \".fnt\"                       ; +0x523, 0x14037c723\nmov     dword ptr [rsp+68h+var_38+8], eax                              ; +0x529, 0x14037c729\nmov     byte ptr [rsp+68h+var_38+0Ch], 0                               ; +0x52d, 0x14037c72d\nxorps   xmm2, xmm2                                                     ; +0x532, 0x14037c732\nxorps   xmm1, xmm1                                                     ; +0x535, 0x14037c735\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x538, 0x14037c738\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x53d, 0x14037c73d\nmov     rbx, rax                                                       ; +0x543, 0x14037c743\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x546, 0x14037c746\nmov     rcx, rax                                                       ; +0x54c, 0x14037c74c\nmov     r9, rbx                                                        ; +0x54f, 0x14037c74f\nlea     r8, [rsp+68h+var_38]                                           ; +0x552, 0x14037c752\nmov     dl, 1                                                          ; +0x557, 0x14037c757\ncall    cs:?toggleShowFPS@CCDirector@cocos2d@@QEAAX_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCCPoint@2@@Z; cocos2d::CCDirector::toggleShowFPS(bool,std::string,cocos2d::CCPoint) ; +0x559, 0x14037c759\nmov     rbx, [rsp+68h+arg_10]                                          ; +0x55f, 0x14037c75f\nadd     rsp, 50h                                                       ; +0x567, 0x14037c767\npop     rdi                                                            ; +0x56b, 0x14037c76b\npop     rsi                                                            ; +0x56c, 0x14037c76c\npop     rbp                                                            ; +0x56d, 0x14037c76d\nretn                                                                   ; +0x56e, 0x14037c76e", "xrefs": ["VideoOptionsLayer::onApply @ 0x1403788b1", "<???> @ 0x1406d5d2c"], "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"}