{"type": "func", "start": 5373779776, "end": 5373781169, "name": "GraphicsReloadLayer::performReload", "pseudocode": "// \n// GraphicsReloadLayer::performReload from 0x1404d5f40 to 0x1404d64b1 (1393 bytes)\n// \n// 2 xrefs:\n// > VideoOptionsLayer::onApply @ 0x1404ce614\n// > <???> @ 0x1409298c4\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 11:33:02 +0000\n// \n\n// Hidden C++ exception states: #wind=13\n__int64 __fastcall GraphicsReloadLayer::performReload(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  struct cocos2d::CCScene *v5; // rbx\n  __int64 v6; // rcx\n  cocos2d::CCDirector *v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rbx\n  __int64 v10; // rdx\n  __int64 v11; // rcx\n  __int64 v12; // r8\n  __int64 v13; // r9\n  __int64 v14; // rax\n  __int64 v15; // rcx\n  int v16; // ebp\n  __int64 v17; // rcx\n  __int64 v18; // rax\n  __int64 v19; // rcx\n  int v20; // r14d\n  __int64 v21; // rcx\n  char GameVariable; // al\n  char *v23; // rbx\n  char v24; // cl\n  char *v25; // rsi\n  __int64 v26; // rcx\n  __int64 v27; // rcx\n  __int64 v28; // rcx\n  __int64 v29; // rcx\n  __int64 v30; // rdx\n  __int64 v31; // rcx\n  __int64 v32; // r8\n  __int64 v33; // r9\n  int v34; // ebx\n  int v35; // edi\n  cocos2d::CCEGLView *v36; // rax\n  __int64 v37; // rdx\n  __int64 v38; // rcx\n  __int64 v39; // r8\n  __int64 v40; // r9\n  cocos2d::CCEGLView *v41; // rax\n  __int64 v42; // rcx\n  char v43; // si\n  __int64 v44; // rcx\n  char *v45; // rsi\n  __int64 v46; // rcx\n  __int64 v47; // rcx\n  __int64 v48; // rcx\n  __int64 v49; // rcx\n  __int64 result; // rax\n  __int64 v51; // rax\n  __int64 v52; // rbx\n  __int64 v53; // rcx\n  __int64 v54; // rax\n  __int64 v55; // rdx\n  _QWORD v56[4]; // [rsp+30h] [rbp-38h] BYREF\n  _QWORD *v57; // [rsp+70h] [rbp+8h] BYREF\n  char v58; // [rsp+78h] [rbp+10h] BYREF\n\n  v5 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(a1, a2, a3, a4);\n  v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6);\n  cocos2d::CCDirector::replaceScene(v7, v5);\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v57, *(float *)(a1 + 412), *(float *)(a1 + 416));\n  v9 = v8;\n  v14 = cocos2d::CCEGLView::sharedOpenGLView(v11, v10, v12, v13);\n  cocos2d::CCSize::operator=(v14 + 216, v9);\n  v16 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v15) + 400);\n  LODWORD(v9) = *(_DWORD *)(a1 + 408);\n  v18 = cocos2d::CCDirector::sharedDirector(v17);\n  cocos2d::CCDirector::updateContentScale(v18, (unsigned int)v9);\n  v20 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v19) + 400);\n  v21 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v21 = qword_14090BFD0;\n  }\n  GameVariable = GameManager::getGameVariable(v21, \"0025\");\n  v23 = (char *)(a1 + 420);\n  v24 = *(_BYTE *)(a1 + 420);\n  if ( GameVariable != v24 )\n  {\n    if ( !v24 )\n    {\nLABEL_12:\n      v28 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v57 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v28 = qword_14090BFD0;\n      }\n      GameManager::setGameVariable(v28, \"0170\", *(_BYTE *)(a1 + 421));\n      v29 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v57 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v23 = (char *)(a1 + 420);\n        v29 = qword_14090BFD0;\n      }\n      GameManager::setGameVariable(v29, \"0175\", *(_BYTE *)(a1 + 422));\n      if ( *(_BYTE *)(a1 + 423) && !*v23 )\n      {\n        v34 = (int)*(float *)(a1 + 416);\n        v35 = (int)*(float *)(a1 + 412);\n        v36 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView(v31, v30, v32, v33);\n        cocos2d::CCEGLView::resizeWindow(v36, v35, v34);\n        v41 = (cocos2d::CCEGLView *)cocos2d::CCEGLView::sharedOpenGLView(v38, v37, v39, v40);\n        cocos2d::CCEGLView::centerWindow(v41);\n      }\n      v42 = qword_14090BFD0;\n      if ( v16 == v20 )\n      {\n        if ( !qword_14090BFD0 )\n        {\n          v57 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v42 = qword_14090BFD0;\n        }\n        GameManager::queueReloadMenu(v42, 1);\n      }\n      else\n      {\n        if ( !qword_14090BFD0 )\n        {\n          v57 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v42 = qword_14090BFD0;\n        }\n        GameManager::reloadAll(v42, 0, 0, 0, 0);\n      }\n      goto LABEL_35;\n    }\n    v25 = (char *)(a1 + 420);\n    v26 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v57 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v25 = (char *)(a1 + 420);\n      v26 = qword_14090BFD0;\n    }\n    if ( GameManager::getGameVariable(v26, \"0170\") == *(_BYTE *)(a1 + 421) )\n    {\n      v27 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v57 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v27 = qword_14090BFD0;\n      }\n      v23 = v25;\n      if ( GameManager::getGameVariable(v27, \"0175\") == *(_BYTE *)(a1 + 422) )\n      {\n        v23 = (char *)(a1 + 420);\n        goto LABEL_12;\n      }\n    }\n  }\n  v43 = *v23;\n  v44 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v44 = qword_14090BFD0;\n  }\n  GameManager::setGameVariable(v44, \"0025\", v43 == 0);\n  v45 = v23;\n  v46 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v45 = (char *)(a1 + 420);\n    v46 = qword_14090BFD0;\n  }\n  GameManager::setGameVariable(v46, \"0170\", *(_BYTE *)(a1 + 421));\n  v47 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v23 = v45;\n    v47 = qword_14090BFD0;\n  }\n  GameManager::setGameVariable(v47, \"0175\", *(_BYTE *)(a1 + 422));\n  v48 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v48 = qword_14090BFD0;\n  }\n  GameManager::reloadAll(v48, 1, *v23, *(_BYTE *)(a1 + 421), *(_BYTE *)(a1 + 422));\nLABEL_35:\n  v49 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v57 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v57);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v49 = qword_14090BFD0;\n  }\n  result = GameManager::getGameVariable(v49, \"0115\");\n  if ( (_BYTE)result )\n  {\n    v57 = v56;\n    v56[2] = 12;\n    v56[3] = 15;\n    v56[0] = *(_QWORD *)\"chatFont.fnt\";\n    v56[1] = *(unsigned int *)\".fnt\";\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v58, 0.0, 0.0);\n    v52 = v51;\n    v54 = cocos2d::CCDirector::sharedDirector(v53);\n    LOBYTE(v55) = 1;\n    return cocos2d::CCDirector::toggleShowFPS(v54, v55, v56, v52);\n  }\n  return result;\n}", "assembly": "; \n; GraphicsReloadLayer::performReload from 0x1404d5f40 to 0x1404d64b1 (1393 bytes)\n; \n; 2 xrefs:\n; > VideoOptionsLayer::onApply @ 0x1404ce614\n; > <???> @ 0x1409298c4\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 11:33:02 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1404d5f40\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x1404d5f45\npush    rsi                                                            ; +0xa, 0x1404d5f4a\npush    rdi                                                            ; +0xb, 0x1404d5f4b\npush    r14                                                            ; +0xc, 0x1404d5f4c\nsub     rsp, 50h                                                       ; +0xe, 0x1404d5f4e\nmov     rdi, rcx                                                       ; +0x12, 0x1404d5f52\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x15, 0x1404d5f55\nmov     rbx, rax                                                       ; +0x1b, 0x1404d5f5b\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x1404d5f5e\nmov     rcx, rax                                                       ; +0x24, 0x1404d5f64\nmov     rdx, rbx                                                       ; +0x27, 0x1404d5f67\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x2a, 0x1404d5f6a\nmovss   xmm2, dword ptr [rdi+1A0h]                                     ; +0x30, 0x1404d5f70\nmovss   xmm1, dword ptr [rdi+19Ch]                                     ; +0x38, 0x1404d5f78\nlea     rcx, [rsp+68h+arg_0]                                           ; +0x40, 0x1404d5f80\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x45, 0x1404d5f85\nmov     rbx, rax                                                       ; +0x4b, 0x1404d5f8b\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x4e, 0x1404d5f8e\nlea     rcx, [rax+0D8h]                                                ; +0x54, 0x1404d5f94\nmov     rdx, rbx                                                       ; +0x5b, 0x1404d5f9b\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x5e, 0x1404d5f9e\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x64, 0x1404d5fa4\nmov     ebp, [rax+190h]                                                ; +0x6a, 0x1404d5faa\nmov     ebx, [rdi+198h]                                                ; +0x70, 0x1404d5fb0\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x76, 0x1404d5fb6\nmov     rcx, rax                                                       ; +0x7c, 0x1404d5fbc\nmov     edx, ebx                                                       ; +0x7f, 0x1404d5fbf\ncall    cs:?updateContentScale@CCDirector@cocos2d@@QEAAXW4TextureQuality@2@@Z; cocos2d::CCDirector::updateContentScale(cocos2d::TextureQuality) ; +0x81, 0x1404d5fc1\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x87, 0x1404d5fc7\nmov     r14d, [rax+190h]                                               ; +0x8d, 0x1404d5fcd\nmov     rcx, cs:qword_14090BFD0                                        ; +0x94, 0x1404d5fd4\ntest    rcx, rcx                                                       ; +0x9b, 0x1404d5fdb\njnz     short loc_1404D6012                                            ; +0x9e, 0x1404d5fde\nmov     ecx, 6E8h; Size                                                ; +0xa0, 0x1404d5fe0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa5, 0x1404d5fe5\nmov     [rsp+68h+arg_0], rax                                           ; +0xaa, 0x1404d5fea\nmov     rcx, rax                                                       ; +0xaf, 0x1404d5fef\ncall    GameManager__GameManager                                       ; +0xb2, 0x1404d5ff2\nnop                                                                    ; +0xb7, 0x1404d5ff7\nmov     cs:qword_14090BFD0, rax                                        ; +0xb8, 0x1404d5ff8\nmov     rcx, [rax]                                                     ; +0xbf, 0x1404d5fff\nmov     rdx, [rcx+48h]                                                 ; +0xc2, 0x1404d6002\nmov     rcx, rax                                                       ; +0xc6, 0x1404d6006\ncall    rdx                                                            ; +0xc9, 0x1404d6009\nmov     rcx, cs:qword_14090BFD0                                        ; +0xcb, 0x1404d600b\nlea     rdx, a0025; \"0025\"                                             ; +0xd2, 0x1404d6012\ncall    GameManager__getGameVariable                                   ; +0xd9, 0x1404d6019\nlea     rbx, [rdi+1A4h]                                                ; +0xde, 0x1404d601e\nmovzx   ecx, byte ptr [rbx]                                            ; +0xe5, 0x1404d6025\ncmp     al, cl                                                         ; +0xe8, 0x1404d6028\njz      loc_1404D627E                                                  ; +0xea, 0x1404d602a\ntest    cl, cl                                                         ; +0xf0, 0x1404d6030\njz      loc_1404D60F8                                                  ; +0xf2, 0x1404d6032\nmov     rsi, rbx                                                       ; +0xf8, 0x1404d6038\nmov     rcx, cs:qword_14090BFD0                                        ; +0xfb, 0x1404d603b\ntest    rcx, rcx                                                       ; +0x102, 0x1404d6042\njnz     short loc_1404D6080                                            ; +0x105, 0x1404d6045\nmov     ecx, 6E8h; Size                                                ; +0x107, 0x1404d6047\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x10c, 0x1404d604c\nmov     [rsp+68h+arg_0], rax                                           ; +0x111, 0x1404d6051\nmov     rcx, rax                                                       ; +0x116, 0x1404d6056\ncall    GameManager__GameManager                                       ; +0x119, 0x1404d6059\nnop                                                                    ; +0x11e, 0x1404d605e\nmov     cs:qword_14090BFD0, rax                                        ; +0x11f, 0x1404d605f\nmov     rcx, [rax]                                                     ; +0x126, 0x1404d6066\nmov     rdx, [rcx+48h]                                                 ; +0x129, 0x1404d6069\nmov     rcx, rax                                                       ; +0x12d, 0x1404d606d\ncall    rdx                                                            ; +0x130, 0x1404d6070\nlea     rsi, [rdi+1A4h]                                                ; +0x132, 0x1404d6072\nmov     rcx, cs:qword_14090BFD0                                        ; +0x139, 0x1404d6079\nlea     rdx, a0170; \"0170\"                                             ; +0x140, 0x1404d6080\ncall    GameManager__getGameVariable                                   ; +0x147, 0x1404d6087\ncmp     al, [rdi+1A5h]                                                 ; +0x14c, 0x1404d608c\njnz     loc_1404D627E                                                  ; +0x152, 0x1404d6092\nmov     rcx, cs:qword_14090BFD0                                        ; +0x158, 0x1404d6098\ntest    rcx, rcx                                                       ; +0x15f, 0x1404d609f\njnz     short loc_1404D60D6                                            ; +0x162, 0x1404d60a2\nmov     ecx, 6E8h; Size                                                ; +0x164, 0x1404d60a4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x169, 0x1404d60a9\nmov     [rsp+68h+arg_0], rax                                           ; +0x16e, 0x1404d60ae\nmov     rcx, rax                                                       ; +0x173, 0x1404d60b3\ncall    GameManager__GameManager                                       ; +0x176, 0x1404d60b6\nnop                                                                    ; +0x17b, 0x1404d60bb\nmov     cs:qword_14090BFD0, rax                                        ; +0x17c, 0x1404d60bc\nmov     rcx, [rax]                                                     ; +0x183, 0x1404d60c3\nmov     rdx, [rcx+48h]                                                 ; +0x186, 0x1404d60c6\nmov     rcx, rax                                                       ; +0x18a, 0x1404d60ca\ncall    rdx                                                            ; +0x18d, 0x1404d60cd\nmov     rcx, cs:qword_14090BFD0                                        ; +0x18f, 0x1404d60cf\nlea     rdx, a0175; \"0175\"                                             ; +0x196, 0x1404d60d6\ncall    GameManager__getGameVariable                                   ; +0x19d, 0x1404d60dd\nmov     rbx, rsi                                                       ; +0x1a2, 0x1404d60e2\ncmp     al, [rdi+1A6h]                                                 ; +0x1a5, 0x1404d60e5\njnz     loc_1404D627E                                                  ; +0x1ab, 0x1404d60eb\nlea     rbx, [rdi+1A4h]                                                ; +0x1b1, 0x1404d60f1\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1b8, 0x1404d60f8\ntest    rcx, rcx                                                       ; +0x1bf, 0x1404d60ff\njnz     short loc_1404D6137                                            ; +0x1c2, 0x1404d6102\nmov     ecx, 6E8h; Size                                                ; +0x1c4, 0x1404d6104\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1c9, 0x1404d6109\nmov     [rsp+68h+arg_0], rax                                           ; +0x1ce, 0x1404d610e\nmov     rcx, rax                                                       ; +0x1d3, 0x1404d6113\ncall    GameManager__GameManager                                       ; +0x1d6, 0x1404d6116\nnop                                                                    ; +0x1db, 0x1404d611b\nmov     cs:qword_14090BFD0, rax                                        ; +0x1dc, 0x1404d611c\nmov     rcx, [rax]                                                     ; +0x1e3, 0x1404d6123\nmov     r8, [rcx+48h]                                                  ; +0x1e6, 0x1404d6126\nmov     rcx, rax                                                       ; +0x1ea, 0x1404d612a\ncall    r8                                                             ; +0x1ed, 0x1404d612d\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1f0, 0x1404d6130\nmovzx   r8d, byte ptr [rdi+1A5h]                                       ; +0x1f7, 0x1404d6137\nlea     rdx, a0170; \"0170\"                                             ; +0x1ff, 0x1404d613f\ncall    GameManager__setGameVariable                                   ; +0x206, 0x1404d6146\nmov     rcx, cs:qword_14090BFD0                                        ; +0x20b, 0x1404d614b\ntest    rcx, rcx                                                       ; +0x212, 0x1404d6152\njnz     short loc_1404D6191                                            ; +0x215, 0x1404d6155\nmov     ecx, 6E8h; Size                                                ; +0x217, 0x1404d6157\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x21c, 0x1404d615c\nmov     [rsp+68h+arg_0], rax                                           ; +0x221, 0x1404d6161\nmov     rcx, rax                                                       ; +0x226, 0x1404d6166\ncall    GameManager__GameManager                                       ; +0x229, 0x1404d6169\nnop                                                                    ; +0x22e, 0x1404d616e\nmov     cs:qword_14090BFD0, rax                                        ; +0x22f, 0x1404d616f\nmov     rcx, [rax]                                                     ; +0x236, 0x1404d6176\nmov     r8, [rcx+48h]                                                  ; +0x239, 0x1404d6179\nmov     rcx, rax                                                       ; +0x23d, 0x1404d617d\ncall    r8                                                             ; +0x240, 0x1404d6180\nlea     rbx, [rdi+1A4h]                                                ; +0x243, 0x1404d6183\nmov     rcx, cs:qword_14090BFD0                                        ; +0x24a, 0x1404d618a\nmovzx   r8d, byte ptr [rdi+1A6h]                                       ; +0x251, 0x1404d6191\nlea     rdx, a0175; \"0175\"                                             ; +0x259, 0x1404d6199\ncall    GameManager__setGameVariable                                   ; +0x260, 0x1404d61a0\ncmp     byte ptr [rdi+1A7h], 0                                         ; +0x265, 0x1404d61a5\njz      short loc_1404D61E6                                            ; +0x26c, 0x1404d61ac\ncmp     byte ptr [rbx], 0                                              ; +0x26e, 0x1404d61ae\njnz     short loc_1404D61E6                                            ; +0x271, 0x1404d61b1\ncvttss2si ebx, dword ptr [rdi+1A0h]                                    ; +0x273, 0x1404d61b3\ncvttss2si edi, dword ptr [rdi+19Ch]                                    ; +0x27b, 0x1404d61bb\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x283, 0x1404d61c3\nmov     rcx, rax                                                       ; +0x289, 0x1404d61c9\nmov     r8d, ebx                                                       ; +0x28c, 0x1404d61cc\nmov     edx, edi                                                       ; +0x28f, 0x1404d61cf\ncall    cs:?resizeWindow@CCEGLView@cocos2d@@QEAAXHH@Z; cocos2d::CCEGLView::resizeWindow(int,int) ; +0x291, 0x1404d61d1\ncall    cs:?sharedOpenGLView@CCEGLView@cocos2d@@SAPEAV12@XZ; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x297, 0x1404d61d7\nmov     rcx, rax                                                       ; +0x29d, 0x1404d61dd\ncall    cs:?centerWindow@CCEGLView@cocos2d@@QEAAXXZ; cocos2d::CCEGLView::centerWindow(void) ; +0x2a0, 0x1404d61e0\nmov     rcx, cs:qword_14090BFD0                                        ; +0x2a6, 0x1404d61e6\ncmp     ebp, r14d                                                      ; +0x2ad, 0x1404d61ed\njz      short loc_1404D623B                                            ; +0x2b0, 0x1404d61f0\ntest    rcx, rcx                                                       ; +0x2b2, 0x1404d61f2\njnz     short loc_1404D6229                                            ; +0x2b5, 0x1404d61f5\nmov     ecx, 6E8h; Size                                                ; +0x2b7, 0x1404d61f7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2bc, 0x1404d61fc\nmov     [rsp+68h+arg_0], rax                                           ; +0x2c1, 0x1404d6201\nmov     rcx, rax                                                       ; +0x2c6, 0x1404d6206\ncall    GameManager__GameManager                                       ; +0x2c9, 0x1404d6209\nnop                                                                    ; +0x2ce, 0x1404d620e\nmov     cs:qword_14090BFD0, rax                                        ; +0x2cf, 0x1404d620f\nmov     rcx, [rax]                                                     ; +0x2d6, 0x1404d6216\nmov     rdx, [rcx+48h]                                                 ; +0x2d9, 0x1404d6219\nmov     rcx, rax                                                       ; +0x2dd, 0x1404d621d\ncall    rdx                                                            ; +0x2e0, 0x1404d6220\nmov     rcx, cs:qword_14090BFD0                                        ; +0x2e2, 0x1404d6222\nmov     [rsp+68h+var_48], 0                                            ; +0x2e9, 0x1404d6229\nxor     r9d, r9d                                                       ; +0x2ee, 0x1404d622e\nxor     r8d, r8d                                                       ; +0x2f1, 0x1404d6231\nxor     edx, edx                                                       ; +0x2f4, 0x1404d6234\njmp     loc_1404D63DB                                                  ; +0x2f6, 0x1404d6236\ntest    rcx, rcx                                                       ; +0x2fb, 0x1404d623b\njnz     short loc_1404D6272                                            ; +0x2fe, 0x1404d623e\nmov     ecx, 6E8h; Size                                                ; +0x300, 0x1404d6240\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x305, 0x1404d6245\nmov     [rsp+68h+arg_0], rax                                           ; +0x30a, 0x1404d624a\nmov     rcx, rax                                                       ; +0x30f, 0x1404d624f\ncall    GameManager__GameManager                                       ; +0x312, 0x1404d6252\nnop                                                                    ; +0x317, 0x1404d6257\nmov     cs:qword_14090BFD0, rax                                        ; +0x318, 0x1404d6258\nmov     rcx, [rax]                                                     ; +0x31f, 0x1404d625f\nmov     rdx, [rcx+48h]                                                 ; +0x322, 0x1404d6262\nmov     rcx, rax                                                       ; +0x326, 0x1404d6266\ncall    rdx                                                            ; +0x329, 0x1404d6269\nmov     rcx, cs:qword_14090BFD0                                        ; +0x32b, 0x1404d626b\nmov     dl, 1                                                          ; +0x332, 0x1404d6272\ncall    GameManager__queueReloadMenu                                   ; +0x334, 0x1404d6274\njmp     loc_1404D63E0                                                  ; +0x339, 0x1404d6279\nmovzx   esi, byte ptr [rbx]                                            ; +0x33e, 0x1404d627e\nmov     rcx, cs:qword_14090BFD0                                        ; +0x341, 0x1404d6281\ntest    rcx, rcx                                                       ; +0x348, 0x1404d6288\njnz     short loc_1404D62C0                                            ; +0x34b, 0x1404d628b\nmov     ecx, 6E8h; Size                                                ; +0x34d, 0x1404d628d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x352, 0x1404d6292\nmov     [rsp+68h+arg_0], rax                                           ; +0x357, 0x1404d6297\nmov     rcx, rax                                                       ; +0x35c, 0x1404d629c\ncall    GameManager__GameManager                                       ; +0x35f, 0x1404d629f\nnop                                                                    ; +0x364, 0x1404d62a4\nmov     cs:qword_14090BFD0, rax                                        ; +0x365, 0x1404d62a5\nmov     rcx, [rax]                                                     ; +0x36c, 0x1404d62ac\nmov     r8, [rcx+48h]                                                  ; +0x36f, 0x1404d62af\nmov     rcx, rax                                                       ; +0x373, 0x1404d62b3\ncall    r8                                                             ; +0x376, 0x1404d62b6\nmov     rcx, cs:qword_14090BFD0                                        ; +0x379, 0x1404d62b9\ntest    sil, sil                                                       ; +0x380, 0x1404d62c0\nsetz    r8b                                                            ; +0x383, 0x1404d62c3\nlea     rdx, a0025; \"0025\"                                             ; +0x387, 0x1404d62c7\ncall    GameManager__setGameVariable                                   ; +0x38e, 0x1404d62ce\nmov     rsi, rbx                                                       ; +0x393, 0x1404d62d3\nmov     rcx, cs:qword_14090BFD0                                        ; +0x396, 0x1404d62d6\ntest    rcx, rcx                                                       ; +0x39d, 0x1404d62dd\njnz     short loc_1404D631B                                            ; +0x3a0, 0x1404d62e0\nmov     ecx, 6E8h; Size                                                ; +0x3a2, 0x1404d62e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3a7, 0x1404d62e7\nmov     [rsp+68h+arg_0], rax                                           ; +0x3ac, 0x1404d62ec\nmov     rcx, rax                                                       ; +0x3b1, 0x1404d62f1\ncall    GameManager__GameManager                                       ; +0x3b4, 0x1404d62f4\nnop                                                                    ; +0x3b9, 0x1404d62f9\nmov     cs:qword_14090BFD0, rax                                        ; +0x3ba, 0x1404d62fa\nmov     rcx, [rax]                                                     ; +0x3c1, 0x1404d6301\nmov     rdx, [rcx+48h]                                                 ; +0x3c4, 0x1404d6304\nmov     rcx, rax                                                       ; +0x3c8, 0x1404d6308\ncall    rdx                                                            ; +0x3cb, 0x1404d630b\nlea     rsi, [rdi+1A4h]                                                ; +0x3cd, 0x1404d630d\nmov     rcx, cs:qword_14090BFD0                                        ; +0x3d4, 0x1404d6314\nmovzx   r8d, byte ptr [rdi+1A5h]                                       ; +0x3db, 0x1404d631b\nlea     rdx, a0170; \"0170\"                                             ; +0x3e3, 0x1404d6323\ncall    GameManager__setGameVariable                                   ; +0x3ea, 0x1404d632a\nmov     rcx, cs:qword_14090BFD0                                        ; +0x3ef, 0x1404d632f\ntest    rcx, rcx                                                       ; +0x3f6, 0x1404d6336\njnz     short loc_1404D6370                                            ; +0x3f9, 0x1404d6339\nmov     ecx, 6E8h; Size                                                ; +0x3fb, 0x1404d633b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x400, 0x1404d6340\nmov     [rsp+68h+arg_0], rax                                           ; +0x405, 0x1404d6345\nmov     rcx, rax                                                       ; +0x40a, 0x1404d634a\ncall    GameManager__GameManager                                       ; +0x40d, 0x1404d634d\nnop                                                                    ; +0x412, 0x1404d6352\nmov     cs:qword_14090BFD0, rax                                        ; +0x413, 0x1404d6353\nmov     rcx, [rax]                                                     ; +0x41a, 0x1404d635a\nmov     rdx, [rcx+48h]                                                 ; +0x41d, 0x1404d635d\nmov     rcx, rax                                                       ; +0x421, 0x1404d6361\ncall    rdx                                                            ; +0x424, 0x1404d6364\nmov     rbx, rsi                                                       ; +0x426, 0x1404d6366\nmov     rcx, cs:qword_14090BFD0                                        ; +0x429, 0x1404d6369\nmovzx   r8d, byte ptr [rdi+1A6h]                                       ; +0x430, 0x1404d6370\nlea     rdx, a0175; \"0175\"                                             ; +0x438, 0x1404d6378\ncall    GameManager__setGameVariable                                   ; +0x43f, 0x1404d637f\nmov     rcx, cs:qword_14090BFD0                                        ; +0x444, 0x1404d6384\ntest    rcx, rcx                                                       ; +0x44b, 0x1404d638b\njnz     short loc_1404D63C2                                            ; +0x44e, 0x1404d638e\nmov     ecx, 6E8h; Size                                                ; +0x450, 0x1404d6390\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x455, 0x1404d6395\nmov     [rsp+68h+arg_0], rax                                           ; +0x45a, 0x1404d639a\nmov     rcx, rax                                                       ; +0x45f, 0x1404d639f\ncall    GameManager__GameManager                                       ; +0x462, 0x1404d63a2\nnop                                                                    ; +0x467, 0x1404d63a7\nmov     cs:qword_14090BFD0, rax                                        ; +0x468, 0x1404d63a8\nmov     rcx, [rax]                                                     ; +0x46f, 0x1404d63af\nmov     rdx, [rcx+48h]                                                 ; +0x472, 0x1404d63b2\nmov     rcx, rax                                                       ; +0x476, 0x1404d63b6\ncall    rdx                                                            ; +0x479, 0x1404d63b9\nmov     rcx, cs:qword_14090BFD0                                        ; +0x47b, 0x1404d63bb\nmovzx   eax, byte ptr [rdi+1A6h]                                       ; +0x482, 0x1404d63c2\nmov     [rsp+68h+var_48], al                                           ; +0x489, 0x1404d63c9\nmovzx   r9d, byte ptr [rdi+1A5h]                                       ; +0x48d, 0x1404d63cd\nmovzx   r8d, byte ptr [rbx]                                            ; +0x495, 0x1404d63d5\nmov     dl, 1                                                          ; +0x499, 0x1404d63d9\ncall    GameManager__reloadAll                                         ; +0x49b, 0x1404d63db\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4a0, 0x1404d63e0\ntest    rcx, rcx                                                       ; +0x4a7, 0x1404d63e7\njnz     short loc_1404D641E                                            ; +0x4aa, 0x1404d63ea\nmov     ecx, 6E8h; Size                                                ; +0x4ac, 0x1404d63ec\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4b1, 0x1404d63f1\nmov     [rsp+68h+arg_0], rax                                           ; +0x4b6, 0x1404d63f6\nmov     rcx, rax                                                       ; +0x4bb, 0x1404d63fb\ncall    GameManager__GameManager                                       ; +0x4be, 0x1404d63fe\nnop                                                                    ; +0x4c3, 0x1404d6403\nmov     cs:qword_14090BFD0, rax                                        ; +0x4c4, 0x1404d6404\nmov     rcx, [rax]                                                     ; +0x4cb, 0x1404d640b\nmov     rdx, [rcx+48h]                                                 ; +0x4ce, 0x1404d640e\nmov     rcx, rax                                                       ; +0x4d2, 0x1404d6412\ncall    rdx                                                            ; +0x4d5, 0x1404d6415\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4d7, 0x1404d6417\nlea     rdx, a0115; \"0115\"                                             ; +0x4de, 0x1404d641e\ncall    GameManager__getGameVariable                                   ; +0x4e5, 0x1404d6425\ntest    al, al                                                         ; +0x4ea, 0x1404d642a\njz      short loc_1404D649C                                            ; +0x4ec, 0x1404d642c\nlea     rax, [rsp+68h+var_38]                                          ; +0x4ee, 0x1404d642e\nmov     [rsp+68h+arg_0], rax                                           ; +0x4f3, 0x1404d6433\nxorps   xmm0, xmm0                                                     ; +0x4f8, 0x1404d6438\nmovups  [rsp+68h+var_38], xmm0                                         ; +0x4fb, 0x1404d643b\nmov     [rsp+68h+var_28], 0Ch                                          ; +0x500, 0x1404d6440\nmov     [rsp+68h+var_20], 0Fh                                          ; +0x509, 0x1404d6449\nmovsd   xmm0, qword ptr cs:aChatfontFnt; \"chatFont.fnt\"                ; +0x512, 0x1404d6452\nmovsd   qword ptr [rsp+68h+var_38], xmm0                               ; +0x51a, 0x1404d645a\nmov     eax, dword ptr cs:aChatfontFnt+8; \".fnt\"                       ; +0x520, 0x1404d6460\nmov     dword ptr [rsp+68h+var_38+8], eax                              ; +0x526, 0x1404d6466\nmov     byte ptr [rsp+68h+var_38+0Ch], 0                               ; +0x52a, 0x1404d646a\nxorps   xmm2, xmm2                                                     ; +0x52f, 0x1404d646f\nxorps   xmm1, xmm1                                                     ; +0x532, 0x1404d6472\nlea     rcx, [rsp+68h+arg_8]                                           ; +0x535, 0x1404d6475\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x53a, 0x1404d647a\nmov     rbx, rax                                                       ; +0x540, 0x1404d6480\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x543, 0x1404d6483\nmov     rcx, rax                                                       ; +0x549, 0x1404d6489\nmov     r9, rbx                                                        ; +0x54c, 0x1404d648c\nlea     r8, [rsp+68h+var_38]                                           ; +0x54f, 0x1404d648f\nmov     dl, 1                                                          ; +0x554, 0x1404d6494\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) ; +0x556, 0x1404d6496\nlea     r11, [rsp+68h+var_18]                                          ; +0x55c, 0x1404d649c\nmov     rbx, [r11+30h]                                                 ; +0x561, 0x1404d64a1\nmov     rbp, [r11+38h]                                                 ; +0x565, 0x1404d64a5\nmov     rsp, r11                                                       ; +0x569, 0x1404d64a9\npop     r14                                                            ; +0x56c, 0x1404d64ac\npop     rdi                                                            ; +0x56e, 0x1404d64ae\npop     rsi                                                            ; +0x56f, 0x1404d64af\nretn                                                                   ; +0x570, 0x1404d64b0", "xrefs": ["VideoOptionsLayer::onApply @ 0x1404ce614", "<???> @ 0x1409298c4"], "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"}