{"type": "func", "start": 5373176160, "end": 5373177112, "name": "LevelSelectLayer::colorForPage", "pseudocode": "// \n// LevelSelectLayer::colorForPage from 0x140442960 to 0x140442d18 (952 bytes)\n// \n// 4 xrefs:\n// > LevelSelectLayer::scrollLayerMoved @ 0x14044270e\n// > LevelSelectLayer::scrollLayerMoved @ 0x140442721\n// > LevelSelectLayer::colorForPage @ 0x140442c90\n// > <???> @ 0x14092711c\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:32:22 +0000\n// \n\n// Hidden C++ exception states: #wind=9\nchar *__fastcall LevelSelectLayer::colorForPage(__int64 a1, char *a2, int a3)\n{\n  char *result; // rax\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n  __int64 v9; // rcx\n  __int64 v10; // rcx\n  __int64 v11; // rcx\n  __int64 v12; // rcx\n  __int64 v13; // rcx\n  void *v14; // [rsp+48h] [rbp+20h]\n  void *v15; // [rsp+48h] [rbp+20h]\n  void *v16; // [rsp+48h] [rbp+20h]\n  void *v17; // [rsp+48h] [rbp+20h]\n  void *v18; // [rsp+48h] [rbp+20h]\n  void *v19; // [rsp+48h] [rbp+20h]\n  void *v20; // [rsp+48h] [rbp+20h]\n  void *v21; // [rsp+48h] [rbp+20h]\n  void *v22; // [rsp+48h] [rbp+20h]\n\n  if ( a3 )\n  {\n    if ( a3 == 22 * (a3 / 22) )\n    {\n      *(_WORD *)a2 = 11301;\n      a2[2] = 52;\n      return a2;\n    }\n    else\n    {\n      switch ( a3 )\n      {\n        case 1:\n          v5 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v14 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v14);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v5 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v5, a2, 7);\n          result = a2;\n          break;\n        case 2:\n          v6 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v15 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v15);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v6 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v6, a2, 8);\n          result = a2;\n          break;\n        case 3:\n          v7 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v16 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v16);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v7 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v7, a2, 9);\n          result = a2;\n          break;\n        case 4:\n          v8 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v17 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v17);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v8 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v8, a2, 10);\n          result = a2;\n          break;\n        case 5:\n          v9 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v18 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v18);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v9 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v9, a2, 11);\n          result = a2;\n          break;\n        case 6:\n          v10 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v19 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v19);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v10 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v10, a2, 1);\n          result = a2;\n          break;\n        case 7:\n          v11 = qword_14090BFD0;\n          if ( !qword_14090BFD0 )\n          {\n            v20 = operator new(0x6E8u);\n            qword_14090BFD0 = GameManager::GameManager((__int64)v20);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n            v11 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v11, a2, 3);\n          result = a2;\n          break;\n        case 8:\n          v12 = 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            v12 = qword_14090BFD0;\n          }\n          GameManager::colorForIdx(v12, a2, 4);\n          result = a2;\n          break;\n        default:\n          LevelSelectLayer::colorForPage(a1, a2, (unsigned int)(a3 % 9));\n          result = a2;\n          break;\n      }\n    }\n  }\n  else\n  {\n    v13 = 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      v13 = qword_14090BFD0;\n    }\n    GameManager::colorForIdx(v13, a2, 5);\n    return a2;\n  }\n  return result;\n}", "assembly": "; \n; LevelSelectLayer::colorForPage from 0x140442960 to 0x140442d18 (952 bytes)\n; \n; 4 xrefs:\n; > LevelSelectLayer::scrollLayerMoved @ 0x14044270e\n; > LevelSelectLayer::scrollLayerMoved @ 0x140442721\n; > LevelSelectLayer::colorForPage @ 0x140442c90\n; > <???> @ 0x14092711c\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:32:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x140442960\nsub     rsp, 20h                                                       ; +0x2, 0x140442962\nmov     rbx, rdx                                                       ; +0x6, 0x140442966\nmov     r9, rcx                                                        ; +0x9, 0x140442969\ntest    r8d, r8d                                                       ; +0xc, 0x14044296c\njz      loc_140442C9E; jumptable 00000001404429C9 case 0               ; +0xf, 0x14044296f\nmov     eax, 2E8BA2E9h                                                 ; +0x15, 0x140442975\nimul    r8d                                                            ; +0x1a, 0x14044297a\nsar     edx, 2                                                         ; +0x1d, 0x14044297d\nmov     eax, edx                                                       ; +0x20, 0x140442980\nshr     eax, 1Fh                                                       ; +0x22, 0x140442982\nadd     edx, eax                                                       ; +0x25, 0x140442985\nimul    ecx, edx, 16h                                                  ; +0x27, 0x140442987\ncmp     r8d, ecx                                                       ; +0x2a, 0x14044298a\njnz     short loc_1404429AB                                            ; +0x2d, 0x14044298d\nmov     [rsp+28h+arg_10], 2C25h                                        ; +0x2f, 0x14044298f\nmovzx   eax, [rsp+28h+arg_10]                                          ; +0x36, 0x140442996\nmov     [rbx], ax                                                      ; +0x3b, 0x14044299b\nmov     byte ptr [rbx+2], 34h ; '4'                                    ; +0x3e, 0x14044299e\nmov     rax, rbx                                                       ; +0x42, 0x1404429a2\nadd     rsp, 20h                                                       ; +0x45, 0x1404429a5\npop     rbx                                                            ; +0x49, 0x1404429a9\nretn                                                                   ; +0x4a, 0x1404429aa\ncmp     r8d, 8; switch 9 cases                                         ; +0x4b, 0x1404429ab\nja      def_1404429C9; jumptable 00000001404429C9 default case         ; +0x4f, 0x1404429af\nmovsxd  rax, r8d                                                       ; +0x55, 0x1404429b5\nlea     rdx, cs:140000000h                                             ; +0x58, 0x1404429b8\nmov     ecx, ds:(jpt_1404429C9 - 140000000h)[rdx+rax*4]                ; +0x5f, 0x1404429bf\nadd     rcx, rdx                                                       ; +0x66, 0x1404429c6\njmp     rcx; switch jump                                               ; +0x69, 0x1404429c9\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 1     ; +0x6b, 0x1404429cb\ntest    rcx, rcx                                                       ; +0x72, 0x1404429d2\njnz     short loc_140442A09                                            ; +0x75, 0x1404429d5\nmov     ecx, 6E8h; Size                                                ; +0x77, 0x1404429d7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7c, 0x1404429dc\nmov     [rsp+28h+arg_18], rax                                          ; +0x81, 0x1404429e1\nmov     rcx, rax                                                       ; +0x86, 0x1404429e6\ncall    GameManager__GameManager                                       ; +0x89, 0x1404429e9\nnop                                                                    ; +0x8e, 0x1404429ee\nmov     cs:qword_14090BFD0, rax                                        ; +0x8f, 0x1404429ef\nmov     rcx, [rax]                                                     ; +0x96, 0x1404429f6\nmov     rdx, [rcx+48h]                                                 ; +0x99, 0x1404429f9\nmov     rcx, rax                                                       ; +0x9d, 0x1404429fd\ncall    rdx                                                            ; +0xa0, 0x140442a00\nmov     rcx, cs:qword_14090BFD0                                        ; +0xa2, 0x140442a02\nmov     r8d, 7                                                         ; +0xa9, 0x140442a09\nmov     rdx, rbx                                                       ; +0xaf, 0x140442a0f\ncall    GameManager__colorForIdx                                       ; +0xb2, 0x140442a12\nmov     rax, rbx                                                       ; +0xb7, 0x140442a17\nadd     rsp, 20h                                                       ; +0xba, 0x140442a1a\npop     rbx                                                            ; +0xbe, 0x140442a1e\nretn                                                                   ; +0xbf, 0x140442a1f\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 2     ; +0xc0, 0x140442a20\ntest    rcx, rcx                                                       ; +0xc7, 0x140442a27\njnz     short loc_140442A5E                                            ; +0xca, 0x140442a2a\nmov     ecx, 6E8h; Size                                                ; +0xcc, 0x140442a2c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd1, 0x140442a31\nmov     [rsp+28h+arg_18], rax                                          ; +0xd6, 0x140442a36\nmov     rcx, rax                                                       ; +0xdb, 0x140442a3b\ncall    GameManager__GameManager                                       ; +0xde, 0x140442a3e\nnop                                                                    ; +0xe3, 0x140442a43\nmov     cs:qword_14090BFD0, rax                                        ; +0xe4, 0x140442a44\nmov     rcx, [rax]                                                     ; +0xeb, 0x140442a4b\nmov     rdx, [rcx+48h]                                                 ; +0xee, 0x140442a4e\nmov     rcx, rax                                                       ; +0xf2, 0x140442a52\ncall    rdx                                                            ; +0xf5, 0x140442a55\nmov     rcx, cs:qword_14090BFD0                                        ; +0xf7, 0x140442a57\nmov     r8d, 8                                                         ; +0xfe, 0x140442a5e\nmov     rdx, rbx                                                       ; +0x104, 0x140442a64\ncall    GameManager__colorForIdx                                       ; +0x107, 0x140442a67\nmov     rax, rbx                                                       ; +0x10c, 0x140442a6c\nadd     rsp, 20h                                                       ; +0x10f, 0x140442a6f\npop     rbx                                                            ; +0x113, 0x140442a73\nretn                                                                   ; +0x114, 0x140442a74\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 3     ; +0x115, 0x140442a75\ntest    rcx, rcx                                                       ; +0x11c, 0x140442a7c\njnz     short loc_140442AB3                                            ; +0x11f, 0x140442a7f\nmov     ecx, 6E8h; Size                                                ; +0x121, 0x140442a81\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x126, 0x140442a86\nmov     [rsp+28h+arg_18], rax                                          ; +0x12b, 0x140442a8b\nmov     rcx, rax                                                       ; +0x130, 0x140442a90\ncall    GameManager__GameManager                                       ; +0x133, 0x140442a93\nnop                                                                    ; +0x138, 0x140442a98\nmov     cs:qword_14090BFD0, rax                                        ; +0x139, 0x140442a99\nmov     rcx, [rax]                                                     ; +0x140, 0x140442aa0\nmov     rdx, [rcx+48h]                                                 ; +0x143, 0x140442aa3\nmov     rcx, rax                                                       ; +0x147, 0x140442aa7\ncall    rdx                                                            ; +0x14a, 0x140442aaa\nmov     rcx, cs:qword_14090BFD0                                        ; +0x14c, 0x140442aac\nmov     r8d, 9                                                         ; +0x153, 0x140442ab3\nmov     rdx, rbx                                                       ; +0x159, 0x140442ab9\ncall    GameManager__colorForIdx                                       ; +0x15c, 0x140442abc\nmov     rax, rbx                                                       ; +0x161, 0x140442ac1\nadd     rsp, 20h                                                       ; +0x164, 0x140442ac4\npop     rbx                                                            ; +0x168, 0x140442ac8\nretn                                                                   ; +0x169, 0x140442ac9\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 4     ; +0x16a, 0x140442aca\ntest    rcx, rcx                                                       ; +0x171, 0x140442ad1\njnz     short loc_140442B08                                            ; +0x174, 0x140442ad4\nmov     ecx, 6E8h; Size                                                ; +0x176, 0x140442ad6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17b, 0x140442adb\nmov     [rsp+28h+arg_18], rax                                          ; +0x180, 0x140442ae0\nmov     rcx, rax                                                       ; +0x185, 0x140442ae5\ncall    GameManager__GameManager                                       ; +0x188, 0x140442ae8\nnop                                                                    ; +0x18d, 0x140442aed\nmov     cs:qword_14090BFD0, rax                                        ; +0x18e, 0x140442aee\nmov     rcx, [rax]                                                     ; +0x195, 0x140442af5\nmov     rdx, [rcx+48h]                                                 ; +0x198, 0x140442af8\nmov     rcx, rax                                                       ; +0x19c, 0x140442afc\ncall    rdx                                                            ; +0x19f, 0x140442aff\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1a1, 0x140442b01\nmov     r8d, 0Ah                                                       ; +0x1a8, 0x140442b08\nmov     rdx, rbx                                                       ; +0x1ae, 0x140442b0e\ncall    GameManager__colorForIdx                                       ; +0x1b1, 0x140442b11\nmov     rax, rbx                                                       ; +0x1b6, 0x140442b16\nadd     rsp, 20h                                                       ; +0x1b9, 0x140442b19\npop     rbx                                                            ; +0x1bd, 0x140442b1d\nretn                                                                   ; +0x1be, 0x140442b1e\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 5     ; +0x1bf, 0x140442b1f\ntest    rcx, rcx                                                       ; +0x1c6, 0x140442b26\njnz     short loc_140442B5D                                            ; +0x1c9, 0x140442b29\nmov     ecx, 6E8h; Size                                                ; +0x1cb, 0x140442b2b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d0, 0x140442b30\nmov     [rsp+28h+arg_18], rax                                          ; +0x1d5, 0x140442b35\nmov     rcx, rax                                                       ; +0x1da, 0x140442b3a\ncall    GameManager__GameManager                                       ; +0x1dd, 0x140442b3d\nnop                                                                    ; +0x1e2, 0x140442b42\nmov     cs:qword_14090BFD0, rax                                        ; +0x1e3, 0x140442b43\nmov     rcx, [rax]                                                     ; +0x1ea, 0x140442b4a\nmov     rdx, [rcx+48h]                                                 ; +0x1ed, 0x140442b4d\nmov     rcx, rax                                                       ; +0x1f1, 0x140442b51\ncall    rdx                                                            ; +0x1f4, 0x140442b54\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1f6, 0x140442b56\nmov     r8d, 0Bh                                                       ; +0x1fd, 0x140442b5d\nmov     rdx, rbx                                                       ; +0x203, 0x140442b63\ncall    GameManager__colorForIdx                                       ; +0x206, 0x140442b66\nmov     rax, rbx                                                       ; +0x20b, 0x140442b6b\nadd     rsp, 20h                                                       ; +0x20e, 0x140442b6e\npop     rbx                                                            ; +0x212, 0x140442b72\nretn                                                                   ; +0x213, 0x140442b73\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 6     ; +0x214, 0x140442b74\ntest    rcx, rcx                                                       ; +0x21b, 0x140442b7b\njnz     short loc_140442BB2                                            ; +0x21e, 0x140442b7e\nmov     ecx, 6E8h; Size                                                ; +0x220, 0x140442b80\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x225, 0x140442b85\nmov     [rsp+28h+arg_18], rax                                          ; +0x22a, 0x140442b8a\nmov     rcx, rax                                                       ; +0x22f, 0x140442b8f\ncall    GameManager__GameManager                                       ; +0x232, 0x140442b92\nnop                                                                    ; +0x237, 0x140442b97\nmov     cs:qword_14090BFD0, rax                                        ; +0x238, 0x140442b98\nmov     rcx, [rax]                                                     ; +0x23f, 0x140442b9f\nmov     rdx, [rcx+48h]                                                 ; +0x242, 0x140442ba2\nmov     rcx, rax                                                       ; +0x246, 0x140442ba6\ncall    rdx                                                            ; +0x249, 0x140442ba9\nmov     rcx, cs:qword_14090BFD0                                        ; +0x24b, 0x140442bab\nmov     r8d, 1                                                         ; +0x252, 0x140442bb2\nmov     rdx, rbx                                                       ; +0x258, 0x140442bb8\ncall    GameManager__colorForIdx                                       ; +0x25b, 0x140442bbb\nmov     rax, rbx                                                       ; +0x260, 0x140442bc0\nadd     rsp, 20h                                                       ; +0x263, 0x140442bc3\npop     rbx                                                            ; +0x267, 0x140442bc7\nretn                                                                   ; +0x268, 0x140442bc8\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 7     ; +0x269, 0x140442bc9\ntest    rcx, rcx                                                       ; +0x270, 0x140442bd0\njnz     short loc_140442C07                                            ; +0x273, 0x140442bd3\nmov     ecx, 6E8h; Size                                                ; +0x275, 0x140442bd5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x27a, 0x140442bda\nmov     [rsp+28h+arg_18], rax                                          ; +0x27f, 0x140442bdf\nmov     rcx, rax                                                       ; +0x284, 0x140442be4\ncall    GameManager__GameManager                                       ; +0x287, 0x140442be7\nnop                                                                    ; +0x28c, 0x140442bec\nmov     cs:qword_14090BFD0, rax                                        ; +0x28d, 0x140442bed\nmov     rcx, [rax]                                                     ; +0x294, 0x140442bf4\nmov     rdx, [rcx+48h]                                                 ; +0x297, 0x140442bf7\nmov     rcx, rax                                                       ; +0x29b, 0x140442bfb\ncall    rdx                                                            ; +0x29e, 0x140442bfe\nmov     rcx, cs:qword_14090BFD0                                        ; +0x2a0, 0x140442c00\nmov     r8d, 3                                                         ; +0x2a7, 0x140442c07\nmov     rdx, rbx                                                       ; +0x2ad, 0x140442c0d\ncall    GameManager__colorForIdx                                       ; +0x2b0, 0x140442c10\nmov     rax, rbx                                                       ; +0x2b5, 0x140442c15\nadd     rsp, 20h                                                       ; +0x2b8, 0x140442c18\npop     rbx                                                            ; +0x2bc, 0x140442c1c\nretn                                                                   ; +0x2bd, 0x140442c1d\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 8     ; +0x2be, 0x140442c1e\ntest    rcx, rcx                                                       ; +0x2c5, 0x140442c25\njnz     short loc_140442C5C                                            ; +0x2c8, 0x140442c28\nmov     ecx, 6E8h; Size                                                ; +0x2ca, 0x140442c2a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2cf, 0x140442c2f\nmov     [rsp+28h+arg_18], rax                                          ; +0x2d4, 0x140442c34\nmov     rcx, rax                                                       ; +0x2d9, 0x140442c39\ncall    GameManager__GameManager                                       ; +0x2dc, 0x140442c3c\nnop                                                                    ; +0x2e1, 0x140442c41\nmov     cs:qword_14090BFD0, rax                                        ; +0x2e2, 0x140442c42\nmov     rcx, [rax]                                                     ; +0x2e9, 0x140442c49\nmov     rdx, [rcx+48h]                                                 ; +0x2ec, 0x140442c4c\nmov     rcx, rax                                                       ; +0x2f0, 0x140442c50\ncall    rdx                                                            ; +0x2f3, 0x140442c53\nmov     rcx, cs:qword_14090BFD0                                        ; +0x2f5, 0x140442c55\nmov     r8d, 4                                                         ; +0x2fc, 0x140442c5c\nmov     rdx, rbx                                                       ; +0x302, 0x140442c62\ncall    GameManager__colorForIdx                                       ; +0x305, 0x140442c65\nmov     rax, rbx                                                       ; +0x30a, 0x140442c6a\nadd     rsp, 20h                                                       ; +0x30d, 0x140442c6d\npop     rbx                                                            ; +0x311, 0x140442c71\nretn                                                                   ; +0x312, 0x140442c72\nmov     eax, 38E38E39h; jumptable 00000001404429C9 default case        ; +0x313, 0x140442c73\nimul    r8d                                                            ; +0x318, 0x140442c78\nsar     edx, 1                                                         ; +0x31b, 0x140442c7b\nmov     eax, edx                                                       ; +0x31d, 0x140442c7d\nshr     eax, 1Fh                                                       ; +0x31f, 0x140442c7f\nadd     edx, eax                                                       ; +0x322, 0x140442c82\nlea     eax, [rdx+rdx*8]                                               ; +0x324, 0x140442c84\nsub     r8d, eax                                                       ; +0x327, 0x140442c87\nmov     rdx, rbx                                                       ; +0x32a, 0x140442c8a\nmov     rcx, r9                                                        ; +0x32d, 0x140442c8d\ncall    LevelSelectLayer__colorForPage                                 ; +0x330, 0x140442c90\nmov     rax, rbx                                                       ; +0x335, 0x140442c95\nadd     rsp, 20h                                                       ; +0x338, 0x140442c98\npop     rbx                                                            ; +0x33c, 0x140442c9c\nretn                                                                   ; +0x33d, 0x140442c9d\nmov     rcx, cs:qword_14090BFD0; jumptable 00000001404429C9 case 0     ; +0x33e, 0x140442c9e\ntest    rcx, rcx                                                       ; +0x345, 0x140442ca5\njnz     short loc_140442CDC                                            ; +0x348, 0x140442ca8\nmov     ecx, 6E8h; Size                                                ; +0x34a, 0x140442caa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34f, 0x140442caf\nmov     [rsp+28h+arg_18], rax                                          ; +0x354, 0x140442cb4\nmov     rcx, rax                                                       ; +0x359, 0x140442cb9\ncall    GameManager__GameManager                                       ; +0x35c, 0x140442cbc\nnop                                                                    ; +0x361, 0x140442cc1\nmov     cs:qword_14090BFD0, rax                                        ; +0x362, 0x140442cc2\nmov     rcx, [rax]                                                     ; +0x369, 0x140442cc9\nmov     rdx, [rcx+48h]                                                 ; +0x36c, 0x140442ccc\nmov     rcx, rax                                                       ; +0x370, 0x140442cd0\ncall    rdx                                                            ; +0x373, 0x140442cd3\nmov     rcx, cs:qword_14090BFD0                                        ; +0x375, 0x140442cd5\nmov     r8d, 5                                                         ; +0x37c, 0x140442cdc\nmov     rdx, rbx                                                       ; +0x382, 0x140442ce2\ncall    GameManager__colorForIdx                                       ; +0x385, 0x140442ce5\nmov     rax, rbx                                                       ; +0x38a, 0x140442cea\nadd     rsp, 20h                                                       ; +0x38d, 0x140442ced\npop     rbx                                                            ; +0x391, 0x140442cf1\nretn                                                                   ; +0x392, 0x140442cf2\nalign 4                                                                ; +0x393, 0x140442cf3\ndd offset loc_140442C9E - 140000000h; jump table for switch statement  ; +0x394, 0x140442cf4", "xrefs": ["LevelSelectLayer::scrollLayerMoved @ 0x14044270e", "LevelSelectLayer::scrollLayerMoved @ 0x140442721", "LevelSelectLayer::colorForPage @ 0x140442c90", "<???> @ 0x14092711c"], "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"}