{"type": "func", "start": 5371621552, "end": 5371622556, "name": "GameSettingsLayer::valueDidChange", "pseudocode": "// \n// GameSettingsLayer::valueDidChange from 0x1402c70b0 to 0x1402c749c (1004 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140766270\n// > <???> @ 0x14091dbe8\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:29:22 +0000\n// \n\n// Hidden C++ exception states: #wind=8\nunsigned __int64 __fastcall GameSettingsLayer::valueDidChange(_QWORD *a1, int a2, float a3)\n{\n  unsigned __int8 v5; // bp\n  unsigned __int64 v6; // rdx\n  __int64 v7; // rcx\n  unsigned __int64 result; // rax\n  __int64 v9; // rbx\n  __int64 v10; // r8\n  __int64 v11; // rcx\n  __int64 v12; // rcx\n  __int64 v13; // rbx\n  __int64 v14; // rcx\n  unsigned __int8 v15; // bl\n  cocos2d::CCString *v16; // rax\n  __int64 v17; // rcx\n  __int64 v18; // rcx\n  __int64 v19; // rcx\n  void *v20; // [rsp+20h] [rbp-58h]\n  void *v21; // [rsp+20h] [rbp-58h]\n  void *v22; // [rsp+20h] [rbp-58h]\n  void *v23; // [rsp+20h] [rbp-58h]\n  void *v24; // [rsp+20h] [rbp-58h]\n  void *v25; // [rsp+20h] [rbp-58h]\n  void *v26; // [rsp+20h] [rbp-58h]\n  _BYTE v27[32]; // [rsp+28h] [rbp-50h] BYREF\n\n  v5 = a3 != 0.0;\n  switch ( a2 )\n  {\n    case -4:\n      result = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v26 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v26);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        result = qword_14090BFD0;\n      }\n      *(float *)(result + 1140) = a3;\n      break;\n    case -3:\n      v19 = qword_14090BF60;\n      if ( !qword_14090BF60 )\n      {\n        v25 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v25);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n        v19 = qword_14090BF60;\n      }\n      result = (unsigned int)(int)a3;\n      *(_DWORD *)(v19 + 620) = result;\n      break;\n    case -2:\n      v13 = qword_14090BFE0;\n      if ( !qword_14090BFE0 )\n      {\n        v20 = operator new(0x3E8u);\n        qword_14090BFE0 = sub_1402D6480(v20);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n        v13 = qword_14090BFE0;\n      }\n      if ( (unsigned __int8)GameStatsManager::isItemUnlocked(a1, 12, 17) )\n      {\n        GameStatsManager::getItemKey(v14, v27, 17, 12, v20);\n        v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v13 + 896), v27);\n        v15 = cocos2d::CCString::boolValue(v16);\n        sub_14003D310((__int64)v27);\n      }\n      else\n      {\n        v15 = 0;\n      }\n      if ( !qword_14090BFE0 )\n      {\n        v23 = operator new(0x3E8u);\n        qword_14090BFE0 = sub_1402D6480(v23);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n      }\n      result = GameStatsManager::isItemUnlocked(v14, 12, 17);\n      if ( (_BYTE)result )\n      {\n        if ( v15 != v5 )\n        {\n          v17 = qword_14090BFE0;\n          if ( !qword_14090BFE0 )\n          {\n            v24 = operator new(0x3E8u);\n            qword_14090BFE0 = sub_1402D6480(v24);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n            v17 = qword_14090BFE0;\n          }\n          result = GameStatsManager::toggleEnableItem(v17, 12, 17, v5);\n          v18 = a1[135];\n          if ( v18 )\n            return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 1440LL))(v18);\n        }\n      }\n      else\n      {\n        (*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1152LL))(a1, 4294967294LL, v15);\n        return GameSettingsLayer::showPracticeMusicSyncUnlockInfo(a1);\n      }\n      break;\n    case -1:\n      result = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v22 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v22);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        result = qword_14090BFD0;\n      }\n      *(_BYTE *)(result + 956) = v5;\n      v12 = a1[135];\n      if ( v12 )\n        return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 1416LL))(v12);\n      break;\n    default:\n      v6 = a1[142]\n         & (0x100000001B3LL\n          * (HIBYTE(a2)\n           ^ (0x100000001B3LL\n            * (BYTE2(a2)\n             ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(a2)))))));\n      v7 = a1[139];\n      result = 2\n             * (a1[142]\n              & (0x100000001B3LL\n               * (HIBYTE(a2)\n                ^ (0x100000001B3LL\n                 * (BYTE2(a2)\n                  ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(a2))))))));\n      v9 = *(_QWORD *)(v7\n                     + 16\n                     * (a1[142]\n                      & (0x100000001B3LL\n                       * (HIBYTE(a2)\n                        ^ (0x100000001B3LL\n                         * (BYTE2(a2)\n                          ^ (0x100000001B3LL\n                           * ((0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(a2))))))))\n                     + 8);\n      v10 = a1[137];\n      if ( v9 != v10 )\n      {\n        result = *(_QWORD *)(v7 + 16 * v6);\n        if ( a2 == *(_DWORD *)(v9 + 16) )\n        {\nLABEL_11:\n          if ( !v9 )\n            v9 = a1[137];\n          if ( v9 != v10 )\n          {\n            v11 = qword_14090BFD0;\n            if ( !qword_14090BFD0 )\n            {\n              v21 = operator new(0x6E8u);\n              qword_14090BFD0 = GameManager::GameManager((__int64)v21);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n              v11 = qword_14090BFD0;\n            }\n            GameManager::setGameVariable(v11, *(_BYTE **)(v9 + 24), v5);\n            return GameSettingsLayer::didChangeGV(a1, *(_QWORD *)(v9 + 24), v5);\n          }\n          return result;\n        }\n        while ( v9 != result )\n        {\n          v9 = *(_QWORD *)(v9 + 8);\n          if ( a2 == *(_DWORD *)(v9 + 16) )\n            goto LABEL_11;\n        }\n      }\n      v9 = 0;\n      goto LABEL_11;\n  }\n  return result;\n}", "assembly": "; \n; GameSettingsLayer::valueDidChange from 0x1402c70b0 to 0x1402c749c (1004 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140766270\n; > <???> @ 0x14091dbe8\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:29:22 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1402c70b0\npush    rbp                                                            ; +0x5, 0x1402c70b5\npush    rsi                                                            ; +0x6, 0x1402c70b6\npush    rdi                                                            ; +0x7, 0x1402c70b7\nsub     rsp, 60h                                                       ; +0x8, 0x1402c70b8\nmovaps  [rsp+78h+var_28], xmm6                                         ; +0xc, 0x1402c70bc\nmov     rax, cs:__security_cookie                                      ; +0x11, 0x1402c70c1\nxor     rax, rsp                                                       ; +0x18, 0x1402c70c8\nmov     [rsp+78h+var_30], rax                                          ; +0x1b, 0x1402c70cb\nmovaps  xmm6, xmm2                                                     ; +0x20, 0x1402c70d0\nmov     edi, edx                                                       ; +0x23, 0x1402c70d3\nmov     rsi, rcx                                                       ; +0x25, 0x1402c70d5\nxorps   xmm0, xmm0                                                     ; +0x28, 0x1402c70d8\nucomiss xmm6, xmm0                                                     ; +0x2b, 0x1402c70db\njp      short loc_1402C70E7                                            ; +0x2e, 0x1402c70de\njnz     short loc_1402C70E7                                            ; +0x30, 0x1402c70e0\nxor     bpl, bpl                                                       ; +0x32, 0x1402c70e2\njmp     short loc_1402C70EA                                            ; +0x35, 0x1402c70e5\nmov     bpl, 1                                                         ; +0x37, 0x1402c70e7\ncmp     edi, 0FFFFFFFCh                                                ; +0x3a, 0x1402c70ea\njz      loc_1402C7434                                                  ; +0x3d, 0x1402c70ed\ncmp     edi, 0FFFFFFFDh                                                ; +0x43, 0x1402c70f3\njz      loc_1402C73EA                                                  ; +0x46, 0x1402c70f6\ncmp     edi, 0FFFFFFFEh                                                ; +0x4c, 0x1402c70fc\njz      loc_1402C7272                                                  ; +0x4f, 0x1402c70ff\ncmp     edi, 0FFFFFFFFh                                                ; +0x55, 0x1402c7105\njz      loc_1402C720F                                                  ; +0x58, 0x1402c7108\nmov     eax, edi                                                       ; +0x5e, 0x1402c710e\nsar     eax, 8                                                         ; +0x60, 0x1402c7110\nmovzx   edx, al                                                        ; +0x63, 0x1402c7113\nmovzx   eax, dil                                                       ; +0x66, 0x1402c7116\nmov     rcx, 0CBF29CE484222325h                                        ; +0x6a, 0x1402c711a\nxor     rax, rcx                                                       ; +0x74, 0x1402c7124\nmov     r8, 100000001B3h                                               ; +0x77, 0x1402c7127\nimul    rax, r8                                                        ; +0x81, 0x1402c7131\nxor     rdx, rax                                                       ; +0x85, 0x1402c7135\nimul    rdx, r8                                                        ; +0x88, 0x1402c7138\nmov     eax, edi                                                       ; +0x8c, 0x1402c713c\nsar     eax, 10h                                                       ; +0x8e, 0x1402c713e\nmovzx   ecx, al                                                        ; +0x91, 0x1402c7141\nxor     rdx, rcx                                                       ; +0x94, 0x1402c7144\nimul    rdx, r8                                                        ; +0x97, 0x1402c7147\nmov     eax, edi                                                       ; +0x9b, 0x1402c714b\nsar     eax, 18h                                                       ; +0x9d, 0x1402c714d\nmovzx   ecx, al                                                        ; +0xa0, 0x1402c7150\nxor     rdx, rcx                                                       ; +0xa3, 0x1402c7153\nimul    rdx, r8                                                        ; +0xa6, 0x1402c7156\nand     rdx, [rsi+470h]                                                ; +0xaa, 0x1402c715a\nmov     rcx, [rsi+458h]                                                ; +0xb1, 0x1402c7161\nmov     rax, rdx                                                       ; +0xb8, 0x1402c7168\nadd     rax, rax                                                       ; +0xbb, 0x1402c716b\nmov     rbx, [rcx+rax*8+8]                                             ; +0xbe, 0x1402c716e\nmov     r8, [rsi+448h]                                                 ; +0xc3, 0x1402c7173\ncmp     rbx, r8                                                        ; +0xca, 0x1402c717a\njz      short loc_1402C71A0                                            ; +0xcd, 0x1402c717d\nadd     rdx, rdx                                                       ; +0xcf, 0x1402c717f\nmov     rax, [rcx+rdx*8]                                               ; +0xd2, 0x1402c7182\ncmp     edi, [rbx+10h]                                                 ; +0xd6, 0x1402c7186\njz      short loc_1402C71A2                                            ; +0xd9, 0x1402c7189\nnop     dword ptr [rax+rax+00h]                                        ; +0xdb, 0x1402c718b\ncmp     rbx, rax                                                       ; +0xe0, 0x1402c7190\njz      short loc_1402C71A0                                            ; +0xe3, 0x1402c7193\nmov     rbx, [rbx+8]                                                   ; +0xe5, 0x1402c7195\ncmp     edi, [rbx+10h]                                                 ; +0xe9, 0x1402c7199\njnz     short loc_1402C7190                                            ; +0xec, 0x1402c719c\njmp     short loc_1402C71A2                                            ; +0xee, 0x1402c719e\nxor     ebx, ebx                                                       ; +0xf0, 0x1402c71a0\ntest    rbx, rbx                                                       ; +0xf2, 0x1402c71a2\ncmovz   rbx, r8                                                        ; +0xf5, 0x1402c71a5\ncmp     rbx, r8                                                        ; +0xf9, 0x1402c71a9\njz      loc_1402C747A                                                  ; +0xfc, 0x1402c71ac\nmov     rcx, cs:qword_14090BFD0                                        ; +0x102, 0x1402c71b2\ntest    rcx, rcx                                                       ; +0x109, 0x1402c71b9\njnz     short loc_1402C71ED                                            ; +0x10c, 0x1402c71bc\nmov     ecx, 6E8h; Size                                                ; +0x10e, 0x1402c71be\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x113, 0x1402c71c3\nmov     [rsp+78h+var_58], rax                                          ; +0x118, 0x1402c71c8\nmov     rcx, rax                                                       ; +0x11d, 0x1402c71cd\ncall    GameManager__GameManager                                       ; +0x120, 0x1402c71d0\nnop                                                                    ; +0x125, 0x1402c71d5\nmov     cs:qword_14090BFD0, rax                                        ; +0x126, 0x1402c71d6\nmov     rdx, [rax]                                                     ; +0x12d, 0x1402c71dd\nmov     rcx, rax                                                       ; +0x130, 0x1402c71e0\ncall    qword ptr [rdx+48h]                                            ; +0x133, 0x1402c71e3\nmov     rcx, cs:qword_14090BFD0                                        ; +0x136, 0x1402c71e6\nmovzx   r8d, bpl                                                       ; +0x13d, 0x1402c71ed\nmov     rdx, [rbx+18h]                                                 ; +0x141, 0x1402c71f1\ncall    GameManager__setGameVariable                                   ; +0x145, 0x1402c71f5\nmovzx   r8d, bpl                                                       ; +0x14a, 0x1402c71fa\nmov     rdx, [rbx+18h]                                                 ; +0x14e, 0x1402c71fe\nmov     rcx, rsi                                                       ; +0x152, 0x1402c7202\ncall    GameSettingsLayer__didChangeGV                                 ; +0x155, 0x1402c7205\njmp     loc_1402C747A                                                  ; +0x15a, 0x1402c720a\nmov     rax, cs:qword_14090BFD0                                        ; +0x15f, 0x1402c720f\ntest    rax, rax                                                       ; +0x166, 0x1402c7216\njnz     short loc_1402C724D                                            ; +0x169, 0x1402c7219\nmov     ecx, 6E8h; Size                                                ; +0x16b, 0x1402c721b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x170, 0x1402c7220\nmov     [rsp+78h+var_58], rax                                          ; +0x175, 0x1402c7225\nmov     rcx, rax                                                       ; +0x17a, 0x1402c722a\ncall    GameManager__GameManager                                       ; +0x17d, 0x1402c722d\nnop                                                                    ; +0x182, 0x1402c7232\nmov     cs:qword_14090BFD0, rax                                        ; +0x183, 0x1402c7233\nmov     rcx, [rax]                                                     ; +0x18a, 0x1402c723a\nmov     rdx, [rcx+48h]                                                 ; +0x18d, 0x1402c723d\nmov     rcx, rax                                                       ; +0x191, 0x1402c7241\ncall    rdx                                                            ; +0x194, 0x1402c7244\nmov     rax, cs:qword_14090BFD0                                        ; +0x196, 0x1402c7246\nmov     [rax+3BCh], bpl                                                ; +0x19d, 0x1402c724d\nmov     rcx, [rsi+438h]                                                ; +0x1a4, 0x1402c7254\ntest    rcx, rcx                                                       ; +0x1ab, 0x1402c725b\njz      loc_1402C747A                                                  ; +0x1ae, 0x1402c725e\nmov     rax, [rcx]                                                     ; +0x1b4, 0x1402c7264\ncall    qword ptr [rax+588h]                                           ; +0x1b7, 0x1402c7267\njmp     loc_1402C747A                                                  ; +0x1bd, 0x1402c726d\nmov     rbx, cs:qword_14090BFE0                                        ; +0x1c2, 0x1402c7272\ntest    rbx, rbx                                                       ; +0x1c9, 0x1402c7279\njnz     short loc_1402C72B0                                            ; +0x1cc, 0x1402c727c\nmov     ecx, 3E8h; Size                                                ; +0x1ce, 0x1402c727e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d3, 0x1402c7283\nmov     [rsp+78h+var_58], rax                                          ; +0x1d8, 0x1402c7288\nmov     rcx, rax                                                       ; +0x1dd, 0x1402c728d\ncall    sub_1402D6480                                                  ; +0x1e0, 0x1402c7290\nnop                                                                    ; +0x1e5, 0x1402c7295\nmov     cs:qword_14090BFE0, rax                                        ; +0x1e6, 0x1402c7296\nmov     rcx, [rax]                                                     ; +0x1ed, 0x1402c729d\nmov     rdx, [rcx+48h]                                                 ; +0x1f0, 0x1402c72a0\nmov     rcx, rax                                                       ; +0x1f4, 0x1402c72a4\ncall    rdx                                                            ; +0x1f7, 0x1402c72a7\nmov     rbx, cs:qword_14090BFE0                                        ; +0x1f9, 0x1402c72a9\nmov     edx, 0Ch                                                       ; +0x200, 0x1402c72b0\nmov     r8d, 11h                                                       ; +0x205, 0x1402c72b5\ncall    GameStatsManager__isItemUnlocked                               ; +0x20b, 0x1402c72bb\ntest    al, al                                                         ; +0x210, 0x1402c72c0\njnz     short loc_1402C72C8                                            ; +0x212, 0x1402c72c2\nxor     bl, bl                                                         ; +0x214, 0x1402c72c4\njmp     short loc_1402C7307                                            ; +0x216, 0x1402c72c6\nmov     r9d, 0Ch                                                       ; +0x218, 0x1402c72c8\nmov     r8d, 11h                                                       ; +0x21e, 0x1402c72ce\nlea     rdx, [rsp+78h+var_50]                                          ; +0x224, 0x1402c72d4\ncall    GameStatsManager__getItemKey                                   ; +0x229, 0x1402c72d9\nnop                                                                    ; +0x22e, 0x1402c72de\nlea     rdx, [rsp+78h+var_50]                                          ; +0x22f, 0x1402c72df\nmov     rcx, [rbx+380h]                                                ; +0x234, 0x1402c72e4\ncall    cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x23b, 0x1402c72eb\nmov     rcx, rax                                                       ; +0x241, 0x1402c72f1\ncall    cs:?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0x244, 0x1402c72f4\nmovzx   ebx, al                                                        ; +0x24a, 0x1402c72fa\nlea     rcx, [rsp+78h+var_50]                                          ; +0x24d, 0x1402c72fd\ncall    sub_14003D310                                                  ; +0x252, 0x1402c7302\ncmp     cs:qword_14090BFE0, 0                                          ; +0x257, 0x1402c7307\njnz     short loc_1402C733D                                            ; +0x25f, 0x1402c730f\nmov     ecx, 3E8h; Size                                                ; +0x261, 0x1402c7311\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x266, 0x1402c7316\nmov     [rsp+78h+var_58], rax                                          ; +0x26b, 0x1402c731b\nmov     rcx, rax                                                       ; +0x270, 0x1402c7320\ncall    sub_1402D6480                                                  ; +0x273, 0x1402c7323\nnop                                                                    ; +0x278, 0x1402c7328\nmov     cs:qword_14090BFE0, rax                                        ; +0x279, 0x1402c7329\nmov     rcx, [rax]                                                     ; +0x280, 0x1402c7330\nmov     r9, [rcx+48h]                                                  ; +0x283, 0x1402c7333\nmov     rcx, rax                                                       ; +0x287, 0x1402c7337\ncall    r9                                                             ; +0x28a, 0x1402c733a\nmov     edx, 0Ch                                                       ; +0x28d, 0x1402c733d\nmov     r8d, 11h                                                       ; +0x292, 0x1402c7342\ncall    GameStatsManager__isItemUnlocked                               ; +0x298, 0x1402c7348\ntest    al, al                                                         ; +0x29d, 0x1402c734d\njnz     short loc_1402C7370                                            ; +0x29f, 0x1402c734f\nmov     rax, [rsi]                                                     ; +0x2a1, 0x1402c7351\nmovzx   r8d, bl                                                        ; +0x2a4, 0x1402c7354\nmov     edx, edi                                                       ; +0x2a8, 0x1402c7358\nmov     rcx, rsi                                                       ; +0x2aa, 0x1402c735a\ncall    qword ptr [rax+480h]                                           ; +0x2ad, 0x1402c735d\nmov     rcx, rsi                                                       ; +0x2b3, 0x1402c7363\ncall    GameSettingsLayer__showPracticeMusicSyncUnlockInfo             ; +0x2b6, 0x1402c7366\njmp     loc_1402C747A                                                  ; +0x2bb, 0x1402c736b\ncmp     bl, bpl                                                        ; +0x2c0, 0x1402c7370\njz      loc_1402C747A                                                  ; +0x2c3, 0x1402c7373\nmov     rcx, cs:qword_14090BFE0                                        ; +0x2c9, 0x1402c7379\ntest    rcx, rcx                                                       ; +0x2d0, 0x1402c7380\njnz     short loc_1402C73B8                                            ; +0x2d3, 0x1402c7383\nmov     ecx, 3E8h; Size                                                ; +0x2d5, 0x1402c7385\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2da, 0x1402c738a\nmov     [rsp+78h+var_58], rax                                          ; +0x2df, 0x1402c738f\nmov     rcx, rax                                                       ; +0x2e4, 0x1402c7394\ncall    sub_1402D6480                                                  ; +0x2e7, 0x1402c7397\nnop                                                                    ; +0x2ec, 0x1402c739c\nmov     cs:qword_14090BFE0, rax                                        ; +0x2ed, 0x1402c739d\nmov     rcx, [rax]                                                     ; +0x2f4, 0x1402c73a4\nmov     r9, [rcx+48h]                                                  ; +0x2f7, 0x1402c73a7\nmov     rcx, rax                                                       ; +0x2fb, 0x1402c73ab\ncall    r9                                                             ; +0x2fe, 0x1402c73ae\nmov     rcx, cs:qword_14090BFE0                                        ; +0x301, 0x1402c73b1\nmovzx   r9d, bpl                                                       ; +0x308, 0x1402c73b8\nmov     edx, 0Ch                                                       ; +0x30c, 0x1402c73bc\nmov     r8d, 11h                                                       ; +0x311, 0x1402c73c1\ncall    GameStatsManager__toggleEnableItem                             ; +0x317, 0x1402c73c7\nmov     rcx, [rsi+438h]                                                ; +0x31c, 0x1402c73cc\ntest    rcx, rcx                                                       ; +0x323, 0x1402c73d3\njz      loc_1402C747A                                                  ; +0x326, 0x1402c73d6\nmov     rax, [rcx]                                                     ; +0x32c, 0x1402c73dc\ncall    qword ptr [rax+5A0h]                                           ; +0x32f, 0x1402c73df\njmp     loc_1402C747A                                                  ; +0x335, 0x1402c73e5\nmov     rcx, cs:qword_14090BF60                                        ; +0x33a, 0x1402c73ea\ntest    rcx, rcx                                                       ; +0x341, 0x1402c73f1\njnz     short loc_1402C7428                                            ; +0x344, 0x1402c73f4\nmov     ecx, 8A8h; Size                                                ; +0x346, 0x1402c73f6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34b, 0x1402c73fb\nmov     [rsp+78h+var_58], rax                                          ; +0x350, 0x1402c7400\nmov     rcx, rax                                                       ; +0x355, 0x1402c7405\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x358, 0x1402c7408\nnop                                                                    ; +0x35d, 0x1402c740d\nmov     cs:qword_14090BF60, rax                                        ; +0x35e, 0x1402c740e\nmov     rcx, [rax]                                                     ; +0x365, 0x1402c7415\nmov     rdx, [rcx+48h]                                                 ; +0x368, 0x1402c7418\nmov     rcx, rax                                                       ; +0x36c, 0x1402c741c\ncall    rdx                                                            ; +0x36f, 0x1402c741f\nmov     rcx, cs:qword_14090BF60                                        ; +0x371, 0x1402c7421\ncvttss2si eax, xmm6                                                    ; +0x378, 0x1402c7428\nmov     [rcx+26Ch], eax                                                ; +0x37c, 0x1402c742c\njmp     short loc_1402C747A                                            ; +0x382, 0x1402c7432\nmov     rax, cs:qword_14090BFD0                                        ; +0x384, 0x1402c7434\ntest    rax, rax                                                       ; +0x38b, 0x1402c743b\njnz     short loc_1402C7472                                            ; +0x38e, 0x1402c743e\nmov     ecx, 6E8h; Size                                                ; +0x390, 0x1402c7440\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x395, 0x1402c7445\nmov     [rsp+78h+var_58], rax                                          ; +0x39a, 0x1402c744a\nmov     rcx, rax                                                       ; +0x39f, 0x1402c744f\ncall    GameManager__GameManager                                       ; +0x3a2, 0x1402c7452\nnop                                                                    ; +0x3a7, 0x1402c7457\nmov     cs:qword_14090BFD0, rax                                        ; +0x3a8, 0x1402c7458\nmov     rcx, [rax]                                                     ; +0x3af, 0x1402c745f\nmov     rdx, [rcx+48h]                                                 ; +0x3b2, 0x1402c7462\nmov     rcx, rax                                                       ; +0x3b6, 0x1402c7466\ncall    rdx                                                            ; +0x3b9, 0x1402c7469\nmov     rax, cs:qword_14090BFD0                                        ; +0x3bb, 0x1402c746b\nmovss   dword ptr [rax+474h], xmm6                                     ; +0x3c2, 0x1402c7472\nmov     rcx, [rsp+78h+var_30]                                          ; +0x3ca, 0x1402c747a\nxor     rcx, rsp; StackCookie                                          ; +0x3cf, 0x1402c747f\ncall    __security_check_cookie                                        ; +0x3d2, 0x1402c7482\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x3d7, 0x1402c7487\nmovaps  xmm6, [rsp+78h+var_28]                                         ; +0x3df, 0x1402c748f\nadd     rsp, 60h                                                       ; +0x3e4, 0x1402c7494\npop     rdi                                                            ; +0x3e8, 0x1402c7498\npop     rsi                                                            ; +0x3e9, 0x1402c7499\npop     rbp                                                            ; +0x3ea, 0x1402c749a\nretn                                                                   ; +0x3eb, 0x1402c749b", "xrefs": ["<???> @ 0x140766270", "<???> @ 0x14091dbe8"], "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"}