{"type": "func", "start": 4298470096, "end": 4298471346, "name": "GJGarageLayer::onSelect", "pseudocode": "// \n// GJGarageLayer::onSelect from 0x1003572d0 to 0x1003577b2 (1250 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::getItems @ 0x100357079\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 12:28:52 +0000\n// \n\n__int64 __fastcall GJGarageLayer::onSelect(__int64 a1, _DWORD *a2)\n{\n  unsigned int v3; // r14d\n  unsigned int v4; // r15d\n  __int64 v5; // rdx\n  double v6; // xmm0_8\n  __int64 v7; // rax\n  __int64 v8; // rdi\n  char isIconUnlocked; // r13\n  __int64 v10; // rdx\n  __int64 v11; // rax\n  __int64 v12; // rdx\n  double v13; // xmm0_8\n  __int64 v14; // rax\n  __int64 v15; // r13\n  float v16; // xmm0_4\n  unsigned int v17; // eax\n  __int64 result; // rax\n  __int64 v19; // rax\n  __int64 v20; // r13\n  float v21; // xmm0_4\n  __int64 v22; // rax\n  __int64 v23; // r13\n  float v24; // xmm0_4\n  __int64 v25; // rax\n  __int64 v26; // r13\n  float v27; // xmm0_4\n  __int64 v28; // rax\n  __int64 v29; // r13\n  float v30; // xmm0_4\n  __int64 v31; // rax\n  __int64 v32; // r13\n  float v33; // xmm0_4\n  __int64 v34; // rax\n  __int64 v35; // r13\n  float v36; // xmm0_4\n  __int64 v37; // rax\n  __int64 v38; // r13\n  float v39; // xmm0_4\n  __int64 v40; // rax\n  __int64 v41; // r13\n  float v42; // xmm0_4\n  __int64 v43; // rax\n  __int64 v44; // r13\n  float v45; // xmm0_4\n  __int64 v46; // rax\n  __int64 v47; // r13\n  float v48; // xmm0_4\n  __int64 v49; // rax\n  __int64 v50; // r13\n  float v51; // xmm0_4\n  __int64 v52; // r13\n  __int64 v53; // r14\n  unsigned int *v54; // rax\n  __int64 v55; // rdi\n  __int64 v56; // rsi\n  __int64 v57; // rdx\n  __int64 v58; // rdi\n  __int64 v59; // rdx\n  __int64 v60; // rax\n  __int64 v61; // r14\n  __int64 v62; // rdx\n  __int64 v63; // rax\n  unsigned int v64; // r14d\n  double v65; // xmm0_8\n  __int64 v66; // rax\n  unsigned int v67; // eax\n  double v68; // [rsp+Ch] [rbp-34h] BYREF\n  unsigned int v69; // [rsp+14h] [rbp-2Ch]\n\n  v3 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 64LL))(a2);\n  v4 = a2[124];\n  *(_QWORD *)&v6 = GameManager::sharedState(a2, a2, v5).u64[0];\n  v8 = v7;\n  isIconUnlocked = GameManager::isIconUnlocked(v7, v3, v4, v6);\n  *(_QWORD *)&v13 = GameManager::sharedState(v8, v3, v10).u64[0];\n  if ( isIconUnlocked )\n  {\n    *(_BYTE *)(v11 + 656) = 0;\n    switch ( v4 )\n    {\n      case 0u:\n        GameManager::sharedState(v8, v3, v12);\n        v15 = v14;\n        *(_DWORD *)(v14 + 724) = v3;\n        v16 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v15 + 720) = (int)v16;\n        *(_DWORD *)(v15 + 716) = v3 + (int)v16;\n        break;\n      case 1u:\n        GameManager::sharedState(v8, v3, v12);\n        v32 = v31;\n        *(_DWORD *)(v31 + 736) = v3;\n        v33 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v32 + 732) = (int)v33;\n        *(_DWORD *)(v32 + 728) = v3 + (int)v33;\n        break;\n      case 2u:\n        GameManager::sharedState(v8, v3, v12);\n        v23 = v22;\n        *(_DWORD *)(v22 + 748) = v3;\n        v24 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v23 + 744) = (int)v24;\n        *(_DWORD *)(v23 + 740) = v3 + (int)v24;\n        break;\n      case 3u:\n        GameManager::sharedState(v8, v3, v12);\n        v41 = v40;\n        *(_DWORD *)(v40 + 760) = v3;\n        v42 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v41 + 756) = (int)v42;\n        *(_DWORD *)(v41 + 752) = v3 + (int)v42;\n        break;\n      case 4u:\n        GameManager::sharedState(v8, v3, v12);\n        v44 = v43;\n        *(_DWORD *)(v43 + 772) = v3;\n        v45 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v44 + 768) = (int)v45;\n        *(_DWORD *)(v44 + 764) = v3 + (int)v45;\n        break;\n      case 5u:\n        GameManager::sharedState(v8, v3, v12);\n        v26 = v25;\n        *(_DWORD *)(v25 + 784) = v3;\n        v27 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v26 + 780) = (int)v27;\n        *(_DWORD *)(v26 + 776) = v3 + (int)v27;\n        break;\n      case 6u:\n        GameManager::sharedState(v8, v3, v12);\n        v35 = v34;\n        *(_DWORD *)(v34 + 796) = v3;\n        v36 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v35 + 792) = (int)v36;\n        *(_DWORD *)(v35 + 788) = v3 + (int)v36;\n        break;\n      case 7u:\n        GameManager::sharedState(v8, v3, v12);\n        v38 = v37;\n        *(_DWORD *)(v37 + 808) = v3;\n        v39 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v38 + 804) = (int)v39;\n        *(_DWORD *)(v38 + 800) = v3 + (int)v39;\n        break;\n      case 8u:\n        GameManager::sharedState(v8, v3, v12);\n        v50 = v49;\n        *(_DWORD *)(v49 + 892) = v3;\n        v51 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v50 + 888) = (int)v51;\n        *(_DWORD *)(v50 + 884) = v3 + (int)v51;\n        break;\n      case 0x62u:\n        GameManager::sharedState(v8, v3, v12);\n        v47 = v46;\n        *(_DWORD *)(v46 + 880) = v3;\n        v48 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v47 + 876) = (int)v48;\n        *(_DWORD *)(v47 + 872) = v3 + (int)v48;\n        break;\n      case 0x63u:\n        GameManager::sharedState(v8, v3, v12);\n        v20 = v19;\n        *(_DWORD *)(v19 + 856) = v3;\n        v21 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v20 + 852) = (int)v21;\n        *(_DWORD *)(v20 + 848) = v3 + (int)v21;\n        break;\n      case 0x65u:\n        GameManager::sharedState(v8, v3, v12);\n        v29 = v28;\n        *(_DWORD *)(v28 + 868) = v3;\n        v30 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n        *(_DWORD *)(v29 + 864) = (int)v30;\n        *(_DWORD *)(v29 + 860) = v3 + (int)v30;\n        break;\n      default:\n        break;\n    }\n    SimplePlayer::updateColors(*(_QWORD *)(a1 + 472));\n    v69 = v3;\n    if ( !(v4 ^ 0x63 | v3 ^ 2) )\n      GJGarageLayer::playRainbowEffect(a1);\n    v52 = *(_QWORD *)(a1 + 8LL * (v4 == 101) + 544);\n    v53 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 512LL))(a2);\n    v54 = (unsigned int *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 192LL))(a2);\n    cocos2d::CCNode::convertToWorldSpace(&v68, v53, v54);\n    (*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v52 + 184LL))(v52, &v68);\n    v55 = v52;\n    v56 = 1;\n    result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v52 + 344LL))(v52, 1);\n    if ( v4 <= 8 )\n    {\n      v58 = *(_QWORD *)(a1 + 472);\n      v56 = v69;\n      SimplePlayer::updatePlayerFrame(v58, v69, *(_DWORD *)(a1 + 516));\n      GameManager::sharedState(v58, v56, v59);\n      *(_DWORD *)(v60 + 916) = *(_DWORD *)(a1 + 516);\n      v61 = *(_QWORD *)(a1 + 472);\n      GameManager::sharedState(v58, v56, v62);\n      v55 = v61;\n      result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v61 + 160LL))(\n                 v61,\n                 flt_100A083B8[*(_DWORD *)(v63 + 916) == 8]);\n    }\n    v64 = v69;\n    if ( *(_DWORD *)(a1 + 600) == v69 && *(_DWORD *)(a1 + 604) == v4 )\n    {\n      *(_QWORD *)&v65 = GameManager::sharedState(v55, v56, v57).u64[0];\n      v67 = GameManager::iconTypeToUnlockType(v66, v4, v65);\n      result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)a1 + 1184LL))(a1, v64, v67);\n    }\n    *(_DWORD *)(a1 + 600) = v64;\n    *(_DWORD *)(a1 + 604) = v4;\n  }\n  else\n  {\n    v17 = GameManager::iconTypeToUnlockType(v11, v4, v13);\n    return (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)a1 + 1184LL))(a1, v3, v17);\n  }\n  return result;\n}", "assembly": "; \n; GJGarageLayer::onSelect from 0x1003572d0 to 0x1003577b2 (1250 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::getItems @ 0x100357079\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 12:28:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003572d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003572d1\npush    r15                                                            ; +0x4, 0x1003572d4\npush    r14                                                            ; +0x6, 0x1003572d6\npush    r13                                                            ; +0x8, 0x1003572d8\npush    r12                                                            ; +0xa, 0x1003572da\npush    rbx                                                            ; +0xc, 0x1003572dc\nsub     rsp, 18h                                                       ; +0xd, 0x1003572dd\nmov     r12, rsi                                                       ; +0x11, 0x1003572e1\nmov     rbx, rdi                                                       ; +0x14, 0x1003572e4\nmov     rax, [rsi]                                                     ; +0x17, 0x1003572e7\nmov     rdi, rsi                                                       ; +0x1a, 0x1003572ea\ncall    qword ptr [rax+40h]                                            ; +0x1d, 0x1003572ed\nmov     r14d, eax                                                      ; +0x20, 0x1003572f0\nmov     r15d, [r12+1F0h]                                               ; +0x23, 0x1003572f3\ncall    GameManager__sharedState                                       ; +0x2b, 0x1003572fb\nmov     rdi, rax                                                       ; +0x30, 0x100357300\nmov     esi, r14d                                                      ; +0x33, 0x100357303\nmov     edx, r15d                                                      ; +0x36, 0x100357306\ncall    GameManager__isIconUnlocked                                    ; +0x39, 0x100357309\nmov     r13d, eax                                                      ; +0x3e, 0x10035730e\ncall    GameManager__sharedState                                       ; +0x41, 0x100357311\ntest    r13b, r13b                                                     ; +0x46, 0x100357316\njz      short loc_100357381                                            ; +0x49, 0x100357319\nmov     byte ptr [rax+290h], 0                                         ; +0x4b, 0x10035731b\ncmp     r15d, 65h; switch 102 cases                                    ; +0x52, 0x100357322\nja      def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x56, 0x100357326\nmov     eax, r15d                                                      ; +0x5c, 0x10035732c\nlea     rcx, jpt_10035733D                                             ; +0x5f, 0x10035732f\nmovsxd  rax, (jpt_10035733D - 1003577B4h)[rcx+rax*4]                   ; +0x66, 0x100357336\nadd     rax, rcx                                                       ; +0x6a, 0x10035733a\njmp     rax; switch jump                                               ; +0x6d, 0x10035733d\ncall    GameManager__sharedState; jumptable 000000010035733D case 0    ; +0x6f, 0x10035733f\nmov     r13, rax                                                       ; +0x74, 0x100357344\nmov     [rax+2D4h], r14d                                               ; +0x77, 0x100357347\ncall    _rand                                                          ; +0x7e, 0x10035734e\ncvtsi2ss xmm0, eax                                                     ; +0x83, 0x100357353\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x87, 0x100357357\nmulss   xmm0, cs:dword_100A03738                                       ; +0x8f, 0x10035735f\ncvttss2si eax, xmm0                                                    ; +0x97, 0x100357367\nmov     [r13+2D0h], eax                                                ; +0x9b, 0x10035736b\nadd     eax, r14d                                                      ; +0xa2, 0x100357372\nmov     [r13+2CCh], eax                                                ; +0xa5, 0x100357375\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0xac, 0x10035737c\nmov     rdi, rax                                                       ; +0xb1, 0x100357381\nmov     esi, r15d                                                      ; +0xb4, 0x100357384\ncall    GameManager__iconTypeToUnlockType                              ; +0xb7, 0x100357387\nmov     rcx, [rbx]                                                     ; +0xbc, 0x10035738c\nmov     rcx, [rcx+4A0h]                                                ; +0xbf, 0x10035738f\nmov     rdi, rbx                                                       ; +0xc6, 0x100357396\nmov     esi, r14d                                                      ; +0xc9, 0x100357399\nmov     edx, eax                                                       ; +0xcc, 0x10035739c\nadd     rsp, 18h                                                       ; +0xce, 0x10035739e\npop     rbx                                                            ; +0xd2, 0x1003573a2\npop     r12                                                            ; +0xd3, 0x1003573a3\npop     r13                                                            ; +0xd5, 0x1003573a5\npop     r14                                                            ; +0xd7, 0x1003573a7\npop     r15                                                            ; +0xd9, 0x1003573a9\npop     rbp                                                            ; +0xdb, 0x1003573ab\njmp     rcx                                                            ; +0xdc, 0x1003573ac\ncall    GameManager__sharedState; jumptable 000000010035733D case 99   ; +0xde, 0x1003573ae\nmov     r13, rax                                                       ; +0xe3, 0x1003573b3\nmov     [rax+358h], r14d                                               ; +0xe6, 0x1003573b6\ncall    _rand                                                          ; +0xed, 0x1003573bd\ncvtsi2ss xmm0, eax                                                     ; +0xf2, 0x1003573c2\nmulss   xmm0, cs:dword_100A03A50                                       ; +0xf6, 0x1003573c6\nmulss   xmm0, cs:dword_100A03738                                       ; +0xfe, 0x1003573ce\ncvttss2si eax, xmm0                                                    ; +0x106, 0x1003573d6\nmov     [r13+354h], eax                                                ; +0x10a, 0x1003573da\nadd     eax, r14d                                                      ; +0x111, 0x1003573e1\nmov     [r13+350h], eax                                                ; +0x114, 0x1003573e4\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x11b, 0x1003573eb\ncall    GameManager__sharedState; jumptable 000000010035733D case 2    ; +0x120, 0x1003573f0\nmov     r13, rax                                                       ; +0x125, 0x1003573f5\nmov     [rax+2ECh], r14d                                               ; +0x128, 0x1003573f8\ncall    _rand                                                          ; +0x12f, 0x1003573ff\ncvtsi2ss xmm0, eax                                                     ; +0x134, 0x100357404\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x138, 0x100357408\nmulss   xmm0, cs:dword_100A03738                                       ; +0x140, 0x100357410\ncvttss2si eax, xmm0                                                    ; +0x148, 0x100357418\nmov     [r13+2E8h], eax                                                ; +0x14c, 0x10035741c\nadd     eax, r14d                                                      ; +0x153, 0x100357423\nmov     [r13+2E4h], eax                                                ; +0x156, 0x100357426\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x15d, 0x10035742d\ncall    GameManager__sharedState; jumptable 000000010035733D case 5    ; +0x162, 0x100357432\nmov     r13, rax                                                       ; +0x167, 0x100357437\nmov     [rax+310h], r14d                                               ; +0x16a, 0x10035743a\ncall    _rand                                                          ; +0x171, 0x100357441\ncvtsi2ss xmm0, eax                                                     ; +0x176, 0x100357446\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x17a, 0x10035744a\nmulss   xmm0, cs:dword_100A03738                                       ; +0x182, 0x100357452\ncvttss2si eax, xmm0                                                    ; +0x18a, 0x10035745a\nmov     [r13+30Ch], eax                                                ; +0x18e, 0x10035745e\nadd     eax, r14d                                                      ; +0x195, 0x100357465\nmov     [r13+308h], eax                                                ; +0x198, 0x100357468\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x19f, 0x10035746f\ncall    GameManager__sharedState; jumptable 000000010035733D case 101  ; +0x1a4, 0x100357474\nmov     r13, rax                                                       ; +0x1a9, 0x100357479\nmov     [rax+364h], r14d                                               ; +0x1ac, 0x10035747c\ncall    _rand                                                          ; +0x1b3, 0x100357483\ncvtsi2ss xmm0, eax                                                     ; +0x1b8, 0x100357488\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x1bc, 0x10035748c\nmulss   xmm0, cs:dword_100A03738                                       ; +0x1c4, 0x100357494\ncvttss2si eax, xmm0                                                    ; +0x1cc, 0x10035749c\nmov     [r13+360h], eax                                                ; +0x1d0, 0x1003574a0\nadd     eax, r14d                                                      ; +0x1d7, 0x1003574a7\nmov     [r13+35Ch], eax                                                ; +0x1da, 0x1003574aa\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x1e1, 0x1003574b1\ncall    GameManager__sharedState; jumptable 000000010035733D case 1    ; +0x1e6, 0x1003574b6\nmov     r13, rax                                                       ; +0x1eb, 0x1003574bb\nmov     [rax+2E0h], r14d                                               ; +0x1ee, 0x1003574be\ncall    _rand                                                          ; +0x1f5, 0x1003574c5\ncvtsi2ss xmm0, eax                                                     ; +0x1fa, 0x1003574ca\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x1fe, 0x1003574ce\nmulss   xmm0, cs:dword_100A03738                                       ; +0x206, 0x1003574d6\ncvttss2si eax, xmm0                                                    ; +0x20e, 0x1003574de\nmov     [r13+2DCh], eax                                                ; +0x212, 0x1003574e2\nadd     eax, r14d                                                      ; +0x219, 0x1003574e9\nmov     [r13+2D8h], eax                                                ; +0x21c, 0x1003574ec\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x223, 0x1003574f3\ncall    GameManager__sharedState; jumptable 000000010035733D case 6    ; +0x228, 0x1003574f8\nmov     r13, rax                                                       ; +0x22d, 0x1003574fd\nmov     [rax+31Ch], r14d                                               ; +0x230, 0x100357500\ncall    _rand                                                          ; +0x237, 0x100357507\ncvtsi2ss xmm0, eax                                                     ; +0x23c, 0x10035750c\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x240, 0x100357510\nmulss   xmm0, cs:dword_100A03738                                       ; +0x248, 0x100357518\ncvttss2si eax, xmm0                                                    ; +0x250, 0x100357520\nmov     [r13+318h], eax                                                ; +0x254, 0x100357524\nadd     eax, r14d                                                      ; +0x25b, 0x10035752b\nmov     [r13+314h], eax                                                ; +0x25e, 0x10035752e\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x265, 0x100357535\ncall    GameManager__sharedState; jumptable 000000010035733D case 7    ; +0x26a, 0x10035753a\nmov     r13, rax                                                       ; +0x26f, 0x10035753f\nmov     [rax+328h], r14d                                               ; +0x272, 0x100357542\ncall    _rand                                                          ; +0x279, 0x100357549\ncvtsi2ss xmm0, eax                                                     ; +0x27e, 0x10035754e\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x282, 0x100357552\nmulss   xmm0, cs:dword_100A03738                                       ; +0x28a, 0x10035755a\ncvttss2si eax, xmm0                                                    ; +0x292, 0x100357562\nmov     [r13+324h], eax                                                ; +0x296, 0x100357566\nadd     eax, r14d                                                      ; +0x29d, 0x10035756d\nmov     [r13+320h], eax                                                ; +0x2a0, 0x100357570\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x2a7, 0x100357577\ncall    GameManager__sharedState; jumptable 000000010035733D case 3    ; +0x2ac, 0x10035757c\nmov     r13, rax                                                       ; +0x2b1, 0x100357581\nmov     [rax+2F8h], r14d                                               ; +0x2b4, 0x100357584\ncall    _rand                                                          ; +0x2bb, 0x10035758b\ncvtsi2ss xmm0, eax                                                     ; +0x2c0, 0x100357590\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x2c4, 0x100357594\nmulss   xmm0, cs:dword_100A03738                                       ; +0x2cc, 0x10035759c\ncvttss2si eax, xmm0                                                    ; +0x2d4, 0x1003575a4\nmov     [r13+2F4h], eax                                                ; +0x2d8, 0x1003575a8\nadd     eax, r14d                                                      ; +0x2df, 0x1003575af\nmov     [r13+2F0h], eax                                                ; +0x2e2, 0x1003575b2\njmp     def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x2e9, 0x1003575b9\ncall    GameManager__sharedState; jumptable 000000010035733D case 4    ; +0x2ee, 0x1003575be\nmov     r13, rax                                                       ; +0x2f3, 0x1003575c3\nmov     [rax+304h], r14d                                               ; +0x2f6, 0x1003575c6\ncall    _rand                                                          ; +0x2fd, 0x1003575cd\ncvtsi2ss xmm0, eax                                                     ; +0x302, 0x1003575d2\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x306, 0x1003575d6\nmulss   xmm0, cs:dword_100A03738                                       ; +0x30e, 0x1003575de\ncvttss2si eax, xmm0                                                    ; +0x316, 0x1003575e6\nmov     [r13+300h], eax                                                ; +0x31a, 0x1003575ea\nadd     eax, r14d                                                      ; +0x321, 0x1003575f1\nmov     [r13+2FCh], eax                                                ; +0x324, 0x1003575f4\njmp     short def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x32b, 0x1003575fb\ncall    GameManager__sharedState; jumptable 000000010035733D case 98   ; +0x32d, 0x1003575fd\nmov     r13, rax                                                       ; +0x332, 0x100357602\nmov     [rax+370h], r14d                                               ; +0x335, 0x100357605\ncall    _rand                                                          ; +0x33c, 0x10035760c\ncvtsi2ss xmm0, eax                                                     ; +0x341, 0x100357611\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x345, 0x100357615\nmulss   xmm0, cs:dword_100A03738                                       ; +0x34d, 0x10035761d\ncvttss2si eax, xmm0                                                    ; +0x355, 0x100357625\nmov     [r13+36Ch], eax                                                ; +0x359, 0x100357629\nadd     eax, r14d                                                      ; +0x360, 0x100357630\nmov     [r13+368h], eax                                                ; +0x363, 0x100357633\njmp     short def_10035733D; jumptable 000000010035733D default case, cases 9-97,100 ; +0x36a, 0x10035763a\ncall    GameManager__sharedState; jumptable 000000010035733D case 8    ; +0x36c, 0x10035763c\nmov     r13, rax                                                       ; +0x371, 0x100357641\nmov     [rax+37Ch], r14d                                               ; +0x374, 0x100357644\ncall    _rand                                                          ; +0x37b, 0x10035764b\ncvtsi2ss xmm0, eax                                                     ; +0x380, 0x100357650\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x384, 0x100357654\nmulss   xmm0, cs:dword_100A03738                                       ; +0x38c, 0x10035765c\ncvttss2si eax, xmm0                                                    ; +0x394, 0x100357664\nmov     [r13+378h], eax                                                ; +0x398, 0x100357668\nadd     eax, r14d                                                      ; +0x39f, 0x10035766f\nmov     [r13+374h], eax                                                ; +0x3a2, 0x100357672\nmov     rdi, [rbx+1D8h]; jumptable 000000010035733D default case, cases 9-97,100 ; +0x3a9, 0x100357679\ncall    SimplePlayer__updateColors                                     ; +0x3b0, 0x100357680\nmov     eax, r15d                                                      ; +0x3b5, 0x100357685\nxor     eax, 63h                                                       ; +0x3b8, 0x100357688\nmov     [rbp+var_2C], r14d                                             ; +0x3bb, 0x10035768b\nxor     r14d, 2                                                        ; +0x3bf, 0x10035768f\nor      r14d, eax                                                      ; +0x3c3, 0x100357693\njnz     short loc_1003576A0                                            ; +0x3c6, 0x100357696\nmov     rdi, rbx                                                       ; +0x3c8, 0x100357698\ncall    GJGarageLayer__playRainbowEffect                               ; +0x3cb, 0x10035769b\nxor     eax, eax                                                       ; +0x3d0, 0x1003576a0\ncmp     r15d, 65h ; 'e'                                                ; +0x3d2, 0x1003576a2\nsetz    al                                                             ; +0x3d6, 0x1003576a6\nmov     r13, [rbx+rax*8+220h]                                          ; +0x3d9, 0x1003576a9\nmov     rax, [r12]                                                     ; +0x3e1, 0x1003576b1\nmov     rdi, r12                                                       ; +0x3e5, 0x1003576b5\ncall    qword ptr [rax+200h]                                           ; +0x3e8, 0x1003576b8\nmov     r14, rax                                                       ; +0x3ee, 0x1003576be\nmov     rax, [r12]                                                     ; +0x3f1, 0x1003576c1\nmov     rdi, r12                                                       ; +0x3f5, 0x1003576c5\ncall    qword ptr [rax+0C0h]                                           ; +0x3f8, 0x1003576c8\nlea     r12, [rbp+var_34]                                              ; +0x3fe, 0x1003576ce\nmov     rdi, r12                                                       ; +0x402, 0x1003576d2\nmov     rsi, r14                                                       ; +0x405, 0x1003576d5\nmov     rdx, rax                                                       ; +0x408, 0x1003576d8\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x40b, 0x1003576db\nmov     rax, [r13+0]                                                   ; +0x410, 0x1003576e0\nmov     rdi, r13                                                       ; +0x414, 0x1003576e4\nmov     rsi, r12                                                       ; +0x417, 0x1003576e7\ncall    qword ptr [rax+0B8h]                                           ; +0x41a, 0x1003576ea\nmov     rax, [r13+0]                                                   ; +0x420, 0x1003576f0\nmov     rdi, r13                                                       ; +0x424, 0x1003576f4\nmov     esi, 1                                                         ; +0x427, 0x1003576f7\ncall    qword ptr [rax+158h]                                           ; +0x42c, 0x1003576fc\ncmp     r15d, 8                                                        ; +0x432, 0x100357702\nja      short loc_10035775E                                            ; +0x436, 0x100357706\nmov     rdi, [rbx+1D8h]                                                ; +0x438, 0x100357708\nmov     edx, [rbx+204h]                                                ; +0x43f, 0x10035770f\nmov     esi, [rbp+var_2C]                                              ; +0x445, 0x100357715\ncall    SimplePlayer__updatePlayerFrame                                ; +0x448, 0x100357718\ncall    GameManager__sharedState                                       ; +0x44d, 0x10035771d\nmov     ecx, [rbx+204h]                                                ; +0x452, 0x100357722\nmov     [rax+394h], ecx                                                ; +0x458, 0x100357728\nmov     r14, [rbx+1D8h]                                                ; +0x45e, 0x10035772e\ncall    GameManager__sharedState                                       ; +0x465, 0x100357735\nxor     ecx, ecx                                                       ; +0x46a, 0x10035773a\ncmp     dword ptr [rax+394h], 8                                        ; +0x46c, 0x10035773c\nsetz    cl                                                             ; +0x473, 0x100357743\nlea     rax, flt_100A083B8                                             ; +0x476, 0x100357746\nmovss   xmm0, dword ptr [rax+rcx*4]                                    ; +0x47d, 0x10035774d\nmov     rax, [r14]                                                     ; +0x482, 0x100357752\nmov     rdi, r14                                                       ; +0x485, 0x100357755\ncall    qword ptr [rax+0A0h]                                           ; +0x488, 0x100357758\nmov     r14d, [rbp+var_2C]                                             ; +0x48e, 0x10035775e\ncmp     [rbx+258h], r14d                                               ; +0x492, 0x100357762\njnz     short loc_100357795                                            ; +0x499, 0x100357769\ncmp     [rbx+25Ch], r15d                                               ; +0x49b, 0x10035776b\njnz     short loc_100357795                                            ; +0x4a2, 0x100357772\ncall    GameManager__sharedState                                       ; +0x4a4, 0x100357774\nmov     rdi, rax                                                       ; +0x4a9, 0x100357779\nmov     esi, r15d                                                      ; +0x4ac, 0x10035777c\ncall    GameManager__iconTypeToUnlockType                              ; +0x4af, 0x10035777f\nmov     rcx, [rbx]                                                     ; +0x4b4, 0x100357784\nmov     rdi, rbx                                                       ; +0x4b7, 0x100357787\nmov     esi, r14d                                                      ; +0x4ba, 0x10035778a\nmov     edx, eax                                                       ; +0x4bd, 0x10035778d\ncall    qword ptr [rcx+4A0h]                                           ; +0x4bf, 0x10035778f\nmov     [rbx+258h], r14d                                               ; +0x4c5, 0x100357795\nmov     [rbx+25Ch], r15d                                               ; +0x4cc, 0x10035779c\nadd     rsp, 18h                                                       ; +0x4d3, 0x1003577a3\npop     rbx                                                            ; +0x4d7, 0x1003577a7\npop     r12                                                            ; +0x4d8, 0x1003577a8\npop     r13                                                            ; +0x4da, 0x1003577aa\npop     r14                                                            ; +0x4dc, 0x1003577ac\npop     r15                                                            ; +0x4de, 0x1003577ae\npop     rbp                                                            ; +0x4e0, 0x1003577b0\nretn                                                                   ; +0x4e1, 0x1003577b1", "xrefs": ["GJGarageLayer::getItems @ 0x100357079"], "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"}