{"type": "func", "start": 5371294064, "end": 5371295748, "name": "GJGarageLayer::onSelect", "pseudocode": "// \n// GJGarageLayer::onSelect from 0x140277170 to 0x140277804 (1684 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::getItems @ 0x1402768e0\n// > <???> @ 0x1406d0fa4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=18\nvoid GJGarageLayer::onSelect(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  unsigned int v4; // ebp\n  __int64 m_uID; // r14\n  GameManager *v6; // rcx\n  GameManager *v7; // rcx\n  UnlockType v8; // eax\n  __int64 v9; // r10\n  __int64 v10; // rbx\n  float v11; // xmm0_4\n  cocos2d::CCSprite *m_cursor2; // r15\n  cocos2d::CCSprite_vtbl *v13; // rdi\n  cocos2d::CCNode *v14; // rax\n  struct cocos2d::CCPoint v15; // rax\n  _BOOL8 v16; // rdx\n  GameManager *v17; // rcx\n  float v18; // xmm0_4\n  float v19; // xmm0_4\n  float v20; // xmm0_4\n  float v21; // xmm0_4\n  float v22; // xmm0_4\n  float v23; // xmm0_4\n  float v24; // xmm0_4\n  float v25; // xmm0_4\n  float v26; // xmm0_4\n  float v27; // xmm0_4\n  float v28; // xmm0_4\n  __int64 v29; // rcx\n  UnlockType v30; // eax\n  __int64 v31; // r10\n  struct cocos2d::CCPoint v32; // [rsp+58h] [rbp+10h] BYREF\n\n  v4 = a2->getTag(a2);\n  m_uID = (int)a2[9].m_uID;\n  v6 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v32 = (struct cocos2d::CCPoint)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v32);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v6 = (GameManager *)qword_1406C2ED8;\n  }\n  if ( !GameManager::isIconUnlocked(v6, v4, (IconType)m_uID) )\n  {\n    if ( !qword_1406C2ED8 )\n    {\n      v32 = (struct cocos2d::CCPoint)operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v32);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    }\n    v8 = GameManager::iconTypeToUnlockType(v7, (IconType)m_uID);\n    (*(void (__fastcall **)(CharacterColorDelegate *, _QWORD, _QWORD))(v9 + 8))(\n      &a1->CharacterColorDelegate,\n      v4,\n      (unsigned int)v8);\n    return;\n  }\n  v10 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v32 = (struct cocos2d::CCPoint)operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v32);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v10 = qword_1406C2ED8;\n  }\n  *(_BYTE *)(v10 + 648) = 0;\n  switch ( m_uID )\n  {\n    case 0LL:\n      *(_DWORD *)(v10 + 716) = v4;\n      v11 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 712) = (int)v11;\n      *(_DWORD *)(v10 + 708) = v4 + (int)v11;\n      goto LABEL_11;\n    case 1LL:\n      *(_DWORD *)(v10 + 728) = v4;\n      v18 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 724) = (int)v18;\n      *(_DWORD *)(v10 + 720) = v4 + (int)v18;\n      goto LABEL_11;\n    case 2LL:\n      *(_DWORD *)(v10 + 740) = v4;\n      v19 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 736) = (int)v19;\n      *(_DWORD *)(v10 + 732) = v4 + (int)v19;\n      goto LABEL_11;\n    case 3LL:\n      *(_DWORD *)(v10 + 752) = v4;\n      v20 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 748) = (int)v20;\n      *(_DWORD *)(v10 + 744) = v4 + (int)v20;\n      goto LABEL_11;\n    case 4LL:\n      *(_DWORD *)(v10 + 764) = v4;\n      v21 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 760) = (int)v21;\n      *(_DWORD *)(v10 + 756) = v4 + (int)v21;\n      goto LABEL_11;\n    case 5LL:\n      *(_DWORD *)(v10 + 776) = v4;\n      v22 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 772) = (int)v22;\n      *(_DWORD *)(v10 + 768) = v4 + (int)v22;\n      goto LABEL_11;\n    case 6LL:\n      *(_DWORD *)(v10 + 788) = v4;\n      v23 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 784) = (int)v23;\n      *(_DWORD *)(v10 + 780) = v4 + (int)v23;\n      goto LABEL_11;\n    case 7LL:\n      *(_DWORD *)(v10 + 800) = v4;\n      v24 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 796) = (int)v24;\n      *(_DWORD *)(v10 + 792) = v4 + (int)v24;\n      goto LABEL_11;\n    case 8LL:\n      *(_DWORD *)(v10 + 884) = v4;\n      v27 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 880) = (int)v27;\n      *(_DWORD *)(v10 + 876) = v4 + (int)v27;\n      goto LABEL_11;\n    case 98LL:\n      *(_DWORD *)(v10 + 872) = v4;\n      v26 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 868) = (int)v26;\n      *(_DWORD *)(v10 + 864) = v4 + (int)v26;\nLABEL_11:\n      SimplePlayer::updateColors(a1->m_playerObject);\n      goto LABEL_12;\n    case 99LL:\n      *(_DWORD *)(v10 + 848) = v4;\n      v25 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 844) = (int)v25;\n      *(_DWORD *)(v10 + 840) = v4 + (int)v25;\n      SimplePlayer::updateColors(a1->m_playerObject);\n      goto LABEL_26;\n    case 101LL:\n      *(_DWORD *)(v10 + 860) = v4;\n      v28 = (float)((float)rand() / 32767.0) * 1000.0;\n      *(_DWORD *)(v10 + 856) = (int)v28;\n      *(_DWORD *)(v10 + 852) = v4 + (int)v28;\n      SimplePlayer::updateColors(a1->m_playerObject);\n      m_cursor2 = a1->m_cursor2;\n      goto LABEL_13;\n    default:\n      SimplePlayer::updateColors(a1->m_playerObject);\n      if ( (_DWORD)m_uID == 99 )\n      {\nLABEL_26:\n        if ( v4 == 2 )\n          GJGarageLayer::playRainbowEffect(a1);\n        goto LABEL_12;\n      }\n      if ( (_DWORD)m_uID != 101 )\n      {\nLABEL_12:\n        m_cursor2 = a1->m_cursor1;\n        goto LABEL_13;\n      }\n      m_cursor2 = a1->m_cursor2;\nLABEL_13:\n      v13 = m_cursor2->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      a2->__vftable[2].getTag(a2);\n      v14 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[6].getTag)(a2);\n      v15 = cocos2d::CCNode::convertToWorldSpace(v14, &v32);\n      ((void (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCPoint))v13->setPosition_0)(m_cursor2, v15);\n      LOBYTE(v16) = 1;\n      m_cursor2->setVisible(m_cursor2, v16);\n      switch ( m_uID )\n      {\n        case 0LL:\n        case 1LL:\n        case 2LL:\n        case 3LL:\n        case 4LL:\n        case 5LL:\n        case 6LL:\n        case 7LL:\n        case 8LL:\n          SimplePlayer::updatePlayerFrame(a1->m_playerObject, v4, a1->m_iconType);\n          v29 = qword_1406C2ED8;\n          if ( !qword_1406C2ED8 )\n          {\n            v32 = (struct cocos2d::CCPoint)operator new(0x668u);\n            qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v32);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n            v29 = qword_1406C2ED8;\n          }\n          *(_DWORD *)(v29 + 908) = a1->m_iconType;\n          ((void (__fastcall *)(SimplePlayer *))a1->m_playerObject->setScale_0)(a1->m_playerObject);\n          break;\n        default:\n          break;\n      }\n      if ( a1->m_iconID == v4 && a1->m_selectedIconType == (_DWORD)m_uID )\n      {\n        if ( !qword_1406C2ED8 )\n        {\n          v32 = (struct cocos2d::CCPoint)operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v32);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        }\n        v30 = GameManager::iconTypeToUnlockType(v17, (IconType)m_uID);\n        (*(void (__fastcall **)(CharacterColorDelegate *, _QWORD, _QWORD))(v31 + 8))(\n          &a1->CharacterColorDelegate,\n          v4,\n          (unsigned int)v30);\n      }\n      a1->m_iconID = v4;\n      a1->m_selectedIconType = m_uID;\n      return;\n  }\n}", "assembly": "; \n; GJGarageLayer::onSelect from 0x140277170 to 0x140277804 (1684 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::getItems @ 0x1402768e0\n; > <???> @ 0x1406d0fa4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140277170\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140277175\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14027717a\npush    rdi                                                            ; +0xf, 0x14027717f\npush    r12                                                            ; +0x10, 0x140277180\npush    r13                                                            ; +0x12, 0x140277182\npush    r14                                                            ; +0x14, 0x140277184\npush    r15                                                            ; +0x16, 0x140277186\nsub     rsp, 20h                                                       ; +0x18, 0x140277188\nmov     r12, rdx                                                       ; +0x1c, 0x14027718c\nmov     rsi, rcx                                                       ; +0x1f, 0x14027718f\nmov     rax, [rdx]                                                     ; +0x22, 0x140277192\nmov     rcx, rdx                                                       ; +0x25, 0x140277195\ncall    qword ptr [rax+38h]                                            ; +0x28, 0x140277198\nmov     ebp, eax                                                       ; +0x2b, 0x14027719b\nmovsxd  r14, dword ptr [r12+200h]                                      ; +0x2d, 0x14027719d\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x35, 0x1402771a5\ntest    rcx, rcx                                                       ; +0x3c, 0x1402771ac\njnz     short loc_1402771E0                                            ; +0x3f, 0x1402771af\nmov     ecx, 668h; Size                                                ; +0x41, 0x1402771b1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x46, 0x1402771b6\nmov     [rsp+48h+arg_8], rax                                           ; +0x4b, 0x1402771bb\nmov     rcx, rax                                                       ; +0x50, 0x1402771c0\ncall    sub_14017AB00                                                  ; +0x53, 0x1402771c3\nnop                                                                    ; +0x58, 0x1402771c8\nmov     cs:qword_1406C2ED8, rax                                        ; +0x59, 0x1402771c9\nmov     rdx, [rax]                                                     ; +0x60, 0x1402771d0\nmov     rcx, rax                                                       ; +0x63, 0x1402771d3\ncall    qword ptr [rdx+48h]                                            ; +0x66, 0x1402771d6\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x69, 0x1402771d9\nmov     r8d, r14d                                                      ; +0x70, 0x1402771e0\nmov     edx, ebp                                                       ; +0x73, 0x1402771e3\ncall    GameManager__isIconUnlocked                                    ; +0x75, 0x1402771e5\ntest    al, al                                                         ; +0x7a, 0x1402771ea\njnz     short loc_140277245                                            ; +0x7c, 0x1402771ec\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x7e, 0x1402771ee\njnz     short loc_140277221                                            ; +0x86, 0x1402771f6\nmov     ecx, 668h; Size                                                ; +0x88, 0x1402771f8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x8d, 0x1402771fd\nmov     [rsp+48h+arg_8], rax                                           ; +0x92, 0x140277202\nmov     rcx, rax                                                       ; +0x97, 0x140277207\ncall    sub_14017AB00                                                  ; +0x9a, 0x14027720a\nnop                                                                    ; +0x9f, 0x14027720f\nmov     cs:qword_1406C2ED8, rax                                        ; +0xa0, 0x140277210\nmov     r8, [rax]                                                      ; +0xa7, 0x140277217\nmov     rcx, rax                                                       ; +0xaa, 0x14027721a\ncall    qword ptr [r8+48h]                                             ; +0xad, 0x14027721d\nmov     r10, [rsi+1C0h]                                                ; +0xb1, 0x140277221\nmov     edx, r14d                                                      ; +0xb8, 0x140277228\ncall    GameManager__iconTypeToUnlockType                              ; +0xbb, 0x14027722b\nmov     r8d, eax                                                       ; +0xc0, 0x140277230\nmov     edx, ebp                                                       ; +0xc3, 0x140277233\nlea     rcx, [rsi+1C0h]                                                ; +0xc5, 0x140277235\ncall    qword ptr [r10+8]                                              ; +0xcc, 0x14027723c\njmp     loc_140277725                                                  ; +0xd0, 0x140277240\nmov     rbx, cs:qword_1406C2ED8                                        ; +0xd5, 0x140277245\ntest    rbx, rbx                                                       ; +0xdc, 0x14027724c\njnz     short loc_140277280                                            ; +0xdf, 0x14027724f\nmov     ecx, 668h; Size                                                ; +0xe1, 0x140277251\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe6, 0x140277256\nmov     [rsp+48h+arg_8], rax                                           ; +0xeb, 0x14027725b\nmov     rcx, rax                                                       ; +0xf0, 0x140277260\ncall    sub_14017AB00                                                  ; +0xf3, 0x140277263\nnop                                                                    ; +0xf8, 0x140277268\nmov     cs:qword_1406C2ED8, rax                                        ; +0xf9, 0x140277269\nmov     rdx, [rax]                                                     ; +0x100, 0x140277270\nmov     rcx, rax                                                       ; +0x103, 0x140277273\ncall    qword ptr [rdx+48h]                                            ; +0x106, 0x140277276\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x109, 0x140277279\nmov     byte ptr [rbx+288h], 0                                         ; +0x110, 0x140277280\nlea     r13, cs:140000000h                                             ; +0x117, 0x140277287\ncmp     r14d, 65h; switch 102 cases                                    ; +0x11e, 0x14027728e\nja      def_1402772AC; jumptable 00000001402772AC default case, cases 9-97,100 ; +0x122, 0x140277292\nmovzx   eax, ds:(byte_140277778 - 140000000h)[r14+r13]                 ; +0x128, 0x140277298\nmov     ecx, ds:(jpt_1402772AC - 140000000h)[r13+rax*4]                ; +0x131, 0x1402772a1\nadd     rcx, r13                                                       ; +0x139, 0x1402772a9\njmp     rcx; switch jump                                               ; +0x13c, 0x1402772ac\nmov     [rbx+2CCh], ebp; jumptable 00000001402772AC case 0             ; +0x13e, 0x1402772ae\ncall    cs:rand                                                        ; +0x144, 0x1402772b4\nmovd    xmm0, eax                                                      ; +0x14a, 0x1402772ba\ncvtdq2ps xmm0, xmm0                                                    ; +0x14e, 0x1402772be\ndivss   xmm0, cs:dword_140623644                                       ; +0x151, 0x1402772c1\nmulss   xmm0, cs:dword_14062350C                                       ; +0x159, 0x1402772c9\ncvttss2si eax, xmm0                                                    ; +0x161, 0x1402772d1\nmov     [rbx+2C8h], eax                                                ; +0x165, 0x1402772d5\nadd     eax, ebp                                                       ; +0x16b, 0x1402772db\nmov     [rbx+2C4h], eax                                                ; +0x16d, 0x1402772dd\nmov     rcx, [rsi+1D8h]                                                ; +0x173, 0x1402772e3\ncall    SimplePlayer__updateColors                                     ; +0x17a, 0x1402772ea\nmov     r15, [rsi+218h]                                                ; +0x17f, 0x1402772ef\nmov     rdi, [r15]                                                     ; +0x186, 0x1402772f6\nmov     rax, [r12]                                                     ; +0x189, 0x1402772f9\nmov     rcx, r12                                                       ; +0x18d, 0x1402772fd\ncall    qword ptr [rax+0C8h]                                           ; +0x190, 0x140277300\nmov     rbx, rax                                                       ; +0x196, 0x140277306\nmov     rdx, [r12]                                                     ; +0x199, 0x140277309\nmov     rcx, r12                                                       ; +0x19d, 0x14027730d\ncall    qword ptr [rdx+1E8h]                                           ; +0x1a0, 0x140277310\nmov     rcx, rax                                                       ; +0x1a6, 0x140277316\nmov     r8, rbx                                                        ; +0x1a9, 0x140277319\nlea     rdx, [rsp+48h+arg_8]                                           ; +0x1ac, 0x14027731c\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x1b1, 0x140277321\nmov     rdx, rax                                                       ; +0x1b7, 0x140277327\nmov     rcx, r15                                                       ; +0x1ba, 0x14027732a\ncall    qword ptr [rdi+0B8h]                                           ; +0x1bd, 0x14027732d\nmov     rax, [r15]                                                     ; +0x1c3, 0x140277333\nmov     dl, 1                                                          ; +0x1c6, 0x140277336\nmov     rcx, r15                                                       ; +0x1c8, 0x140277338\ncall    qword ptr [rax+140h]                                           ; +0x1cb, 0x14027733b\ncmp     r14d, 8; switch 9 cases                                        ; +0x1d1, 0x140277341\nja      def_140277356; jumptable 0000000140277356 default case         ; +0x1d5, 0x140277345\nmov     ecx, ds:(jpt_140277356 - 140000000h)[r13+r14*4]                ; +0x1db, 0x14027734b\nadd     rcx, r13                                                       ; +0x1e3, 0x140277353\njmp     rcx; switch jump                                               ; +0x1e6, 0x140277356\nmov     [rbx+2D8h], ebp; jumptable 00000001402772AC case 1             ; +0x1e8, 0x140277358\ncall    cs:rand                                                        ; +0x1ee, 0x14027735e\nmovd    xmm0, eax                                                      ; +0x1f4, 0x140277364\ncvtdq2ps xmm0, xmm0                                                    ; +0x1f8, 0x140277368\ndivss   xmm0, cs:dword_140623644                                       ; +0x1fb, 0x14027736b\nmulss   xmm0, cs:dword_14062350C                                       ; +0x203, 0x140277373\ncvttss2si eax, xmm0                                                    ; +0x20b, 0x14027737b\nmov     [rbx+2D4h], eax                                                ; +0x20f, 0x14027737f\nadd     eax, ebp                                                       ; +0x215, 0x140277385\nmov     [rbx+2D0h], eax                                                ; +0x217, 0x140277387\njmp     loc_1402772E3                                                  ; +0x21d, 0x14027738d\nmov     [rbx+2E4h], ebp; jumptable 00000001402772AC case 2             ; +0x222, 0x140277392\ncall    cs:rand                                                        ; +0x228, 0x140277398\nmovd    xmm0, eax                                                      ; +0x22e, 0x14027739e\ncvtdq2ps xmm0, xmm0                                                    ; +0x232, 0x1402773a2\ndivss   xmm0, cs:dword_140623644                                       ; +0x235, 0x1402773a5\nmulss   xmm0, cs:dword_14062350C                                       ; +0x23d, 0x1402773ad\ncvttss2si eax, xmm0                                                    ; +0x245, 0x1402773b5\nmov     [rbx+2E0h], eax                                                ; +0x249, 0x1402773b9\nadd     eax, ebp                                                       ; +0x24f, 0x1402773bf\nmov     [rbx+2DCh], eax                                                ; +0x251, 0x1402773c1\njmp     loc_1402772E3                                                  ; +0x257, 0x1402773c7\nmov     [rbx+2F0h], ebp; jumptable 00000001402772AC case 3             ; +0x25c, 0x1402773cc\ncall    cs:rand                                                        ; +0x262, 0x1402773d2\nmovd    xmm0, eax                                                      ; +0x268, 0x1402773d8\ncvtdq2ps xmm0, xmm0                                                    ; +0x26c, 0x1402773dc\ndivss   xmm0, cs:dword_140623644                                       ; +0x26f, 0x1402773df\nmulss   xmm0, cs:dword_14062350C                                       ; +0x277, 0x1402773e7\ncvttss2si eax, xmm0                                                    ; +0x27f, 0x1402773ef\nmov     [rbx+2ECh], eax                                                ; +0x283, 0x1402773f3\nadd     eax, ebp                                                       ; +0x289, 0x1402773f9\nmov     [rbx+2E8h], eax                                                ; +0x28b, 0x1402773fb\njmp     loc_1402772E3                                                  ; +0x291, 0x140277401\nmov     [rbx+2FCh], ebp; jumptable 00000001402772AC case 4             ; +0x296, 0x140277406\ncall    cs:rand                                                        ; +0x29c, 0x14027740c\nmovd    xmm0, eax                                                      ; +0x2a2, 0x140277412\ncvtdq2ps xmm0, xmm0                                                    ; +0x2a6, 0x140277416\ndivss   xmm0, cs:dword_140623644                                       ; +0x2a9, 0x140277419\nmulss   xmm0, cs:dword_14062350C                                       ; +0x2b1, 0x140277421\ncvttss2si eax, xmm0                                                    ; +0x2b9, 0x140277429\nmov     [rbx+2F8h], eax                                                ; +0x2bd, 0x14027742d\nadd     eax, ebp                                                       ; +0x2c3, 0x140277433\nmov     [rbx+2F4h], eax                                                ; +0x2c5, 0x140277435\njmp     loc_1402772E3                                                  ; +0x2cb, 0x14027743b\nmov     [rbx+308h], ebp; jumptable 00000001402772AC case 5             ; +0x2d0, 0x140277440\ncall    cs:rand                                                        ; +0x2d6, 0x140277446\nmovd    xmm0, eax                                                      ; +0x2dc, 0x14027744c\ncvtdq2ps xmm0, xmm0                                                    ; +0x2e0, 0x140277450\ndivss   xmm0, cs:dword_140623644                                       ; +0x2e3, 0x140277453\nmulss   xmm0, cs:dword_14062350C                                       ; +0x2eb, 0x14027745b\ncvttss2si eax, xmm0                                                    ; +0x2f3, 0x140277463\nmov     [rbx+304h], eax                                                ; +0x2f7, 0x140277467\nadd     eax, ebp                                                       ; +0x2fd, 0x14027746d\nmov     [rbx+300h], eax                                                ; +0x2ff, 0x14027746f\njmp     loc_1402772E3                                                  ; +0x305, 0x140277475\nmov     [rbx+314h], ebp; jumptable 00000001402772AC case 6             ; +0x30a, 0x14027747a\ncall    cs:rand                                                        ; +0x310, 0x140277480\nmovd    xmm0, eax                                                      ; +0x316, 0x140277486\ncvtdq2ps xmm0, xmm0                                                    ; +0x31a, 0x14027748a\ndivss   xmm0, cs:dword_140623644                                       ; +0x31d, 0x14027748d\nmulss   xmm0, cs:dword_14062350C                                       ; +0x325, 0x140277495\ncvttss2si eax, xmm0                                                    ; +0x32d, 0x14027749d\nmov     [rbx+310h], eax                                                ; +0x331, 0x1402774a1\nadd     eax, ebp                                                       ; +0x337, 0x1402774a7\nmov     [rbx+30Ch], eax                                                ; +0x339, 0x1402774a9\njmp     loc_1402772E3                                                  ; +0x33f, 0x1402774af\nmov     [rbx+320h], ebp; jumptable 00000001402772AC case 7             ; +0x344, 0x1402774b4\ncall    cs:rand                                                        ; +0x34a, 0x1402774ba\nmovd    xmm0, eax                                                      ; +0x350, 0x1402774c0\ncvtdq2ps xmm0, xmm0                                                    ; +0x354, 0x1402774c4\ndivss   xmm0, cs:dword_140623644                                       ; +0x357, 0x1402774c7\nmulss   xmm0, cs:dword_14062350C                                       ; +0x35f, 0x1402774cf\ncvttss2si eax, xmm0                                                    ; +0x367, 0x1402774d7\nmov     [rbx+31Ch], eax                                                ; +0x36b, 0x1402774db\nadd     eax, ebp                                                       ; +0x371, 0x1402774e1\nmov     [rbx+318h], eax                                                ; +0x373, 0x1402774e3\njmp     loc_1402772E3                                                  ; +0x379, 0x1402774e9\nmov     [rbx+350h], ebp; jumptable 00000001402772AC case 99            ; +0x37e, 0x1402774ee\ncall    cs:rand                                                        ; +0x384, 0x1402774f4\nmovd    xmm0, eax                                                      ; +0x38a, 0x1402774fa\ncvtdq2ps xmm0, xmm0                                                    ; +0x38e, 0x1402774fe\ndivss   xmm0, cs:dword_140623644                                       ; +0x391, 0x140277501\nmulss   xmm0, cs:dword_14062350C                                       ; +0x399, 0x140277509\ncvttss2si eax, xmm0                                                    ; +0x3a1, 0x140277511\nmov     [rbx+34Ch], eax                                                ; +0x3a5, 0x140277515\nadd     eax, ebp                                                       ; +0x3ab, 0x14027751b\nmov     [rbx+348h], eax                                                ; +0x3ad, 0x14027751d\nmov     rcx, [rsi+1D8h]                                                ; +0x3b3, 0x140277523\ncall    SimplePlayer__updateColors                                     ; +0x3ba, 0x14027752a\njmp     loc_140277607                                                  ; +0x3bf, 0x14027752f\nmov     [rbx+368h], ebp; jumptable 00000001402772AC case 98            ; +0x3c4, 0x140277534\ncall    cs:rand                                                        ; +0x3ca, 0x14027753a\nmovd    xmm0, eax                                                      ; +0x3d0, 0x140277540\ncvtdq2ps xmm0, xmm0                                                    ; +0x3d4, 0x140277544\ndivss   xmm0, cs:dword_140623644                                       ; +0x3d7, 0x140277547\nmulss   xmm0, cs:dword_14062350C                                       ; +0x3df, 0x14027754f\ncvttss2si eax, xmm0                                                    ; +0x3e7, 0x140277557\nmov     [rbx+364h], eax                                                ; +0x3eb, 0x14027755b\nadd     eax, ebp                                                       ; +0x3f1, 0x140277561\nmov     [rbx+360h], eax                                                ; +0x3f3, 0x140277563\njmp     loc_1402772E3                                                  ; +0x3f9, 0x140277569\nmov     [rbx+374h], ebp; jumptable 00000001402772AC case 8             ; +0x3fe, 0x14027756e\ncall    cs:rand                                                        ; +0x404, 0x140277574\nmovd    xmm0, eax                                                      ; +0x40a, 0x14027757a\ncvtdq2ps xmm0, xmm0                                                    ; +0x40e, 0x14027757e\ndivss   xmm0, cs:dword_140623644                                       ; +0x411, 0x140277581\nmulss   xmm0, cs:dword_14062350C                                       ; +0x419, 0x140277589\ncvttss2si eax, xmm0                                                    ; +0x421, 0x140277591\nmov     [rbx+370h], eax                                                ; +0x425, 0x140277595\nadd     eax, ebp                                                       ; +0x42b, 0x14027759b\nmov     [rbx+36Ch], eax                                                ; +0x42d, 0x14027759d\njmp     loc_1402772E3                                                  ; +0x433, 0x1402775a3\nmov     [rbx+35Ch], ebp; jumptable 00000001402772AC case 101           ; +0x438, 0x1402775a8\ncall    cs:rand                                                        ; +0x43e, 0x1402775ae\nmovd    xmm0, eax                                                      ; +0x444, 0x1402775b4\ncvtdq2ps xmm0, xmm0                                                    ; +0x448, 0x1402775b8\ndivss   xmm0, cs:dword_140623644                                       ; +0x44b, 0x1402775bb\nmulss   xmm0, cs:dword_14062350C                                       ; +0x453, 0x1402775c3\ncvttss2si eax, xmm0                                                    ; +0x45b, 0x1402775cb\nmov     [rbx+358h], eax                                                ; +0x45f, 0x1402775cf\nadd     eax, ebp                                                       ; +0x465, 0x1402775d5\nmov     [rbx+354h], eax                                                ; +0x467, 0x1402775d7\nmov     rcx, [rsi+1D8h]                                                ; +0x46d, 0x1402775dd\ncall    SimplePlayer__updateColors                                     ; +0x474, 0x1402775e4\nmov     r15, [rsi+220h]                                                ; +0x479, 0x1402775e9\njmp     loc_1402772F6                                                  ; +0x480, 0x1402775f0\nmov     rcx, [rsi+1D8h]; jumptable 00000001402772AC default case, cases 9-97,100 ; +0x485, 0x1402775f5\ncall    SimplePlayer__updateColors                                     ; +0x48c, 0x1402775fc\ncmp     r14d, 63h ; 'c'                                                ; +0x491, 0x140277601\njnz     short loc_14027761D                                            ; +0x495, 0x140277605\ncmp     ebp, 2                                                         ; +0x497, 0x140277607\njnz     loc_1402772EF                                                  ; +0x49a, 0x14027760a\nmov     rcx, rsi                                                       ; +0x4a0, 0x140277610\ncall    GJGarageLayer__playRainbowEffect                               ; +0x4a3, 0x140277613\njmp     loc_1402772EF                                                  ; +0x4a8, 0x140277618\ncmp     r14d, 65h ; 'e'                                                ; +0x4ad, 0x14027761d\njnz     loc_1402772EF                                                  ; +0x4b1, 0x140277621\nmov     r15, [rsi+220h]                                                ; +0x4b7, 0x140277627\njmp     loc_1402772F6                                                  ; +0x4be, 0x14027762e\nmov     r8d, [rsi+204h]; jumptable 0000000140277356 cases 0-8          ; +0x4c3, 0x140277633\nmov     edx, ebp                                                       ; +0x4ca, 0x14027763a\nmov     rcx, [rsi+1D8h]                                                ; +0x4cc, 0x14027763c\ncall    SimplePlayer__updatePlayerFrame                                ; +0x4d3, 0x140277643\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4d8, 0x140277648\ntest    rcx, rcx                                                       ; +0x4df, 0x14027764f\njnz     short loc_140277683                                            ; +0x4e2, 0x140277652\nmov     ecx, 668h; Size                                                ; +0x4e4, 0x140277654\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4e9, 0x140277659\nmov     [rsp+48h+arg_8], rax                                           ; +0x4ee, 0x14027765e\nmov     rcx, rax                                                       ; +0x4f3, 0x140277663\ncall    sub_14017AB00                                                  ; +0x4f6, 0x140277666\nnop                                                                    ; +0x4fb, 0x14027766b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x4fc, 0x14027766c\nmov     rdx, [rax]                                                     ; +0x503, 0x140277673\nmov     rcx, rax                                                       ; +0x506, 0x140277676\ncall    qword ptr [rdx+48h]                                            ; +0x509, 0x140277679\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x50c, 0x14027767c\nmov     eax, [rsi+204h]                                                ; +0x513, 0x140277683\nmov     [rcx+38Ch], eax                                                ; +0x519, 0x140277689\ncmp     eax, 8                                                         ; +0x51f, 0x14027768f\njnz     short loc_14027769E                                            ; +0x522, 0x140277692\nmovss   xmm1, cs:dword_140622D04                                       ; +0x524, 0x140277694\njmp     short loc_1402776A6                                            ; +0x52c, 0x14027769c\nmovss   xmm1, cs:dword_140622D24                                       ; +0x52e, 0x14027769e\nmov     rcx, [rsi+1D8h]                                                ; +0x536, 0x1402776a6\nmov     rax, [rcx]                                                     ; +0x53d, 0x1402776ad\ncall    qword ptr [rax+0A0h]                                           ; +0x540, 0x1402776b0\ncmp     [rsi+250h], ebp; jumptable 0000000140277356 default case       ; +0x546, 0x1402776b6\njnz     short loc_140277718                                            ; +0x54c, 0x1402776bc\ncmp     [rsi+254h], r14d                                               ; +0x54e, 0x1402776be\njnz     short loc_140277718                                            ; +0x555, 0x1402776c5\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x557, 0x1402776c7\njnz     short loc_1402776F9                                            ; +0x55f, 0x1402776cf\nmov     ecx, 668h; Size                                                ; +0x561, 0x1402776d1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x566, 0x1402776d6\nmov     [rsp+48h+arg_8], rax                                           ; +0x56b, 0x1402776db\nmov     rcx, rax                                                       ; +0x570, 0x1402776e0\ncall    sub_14017AB00                                                  ; +0x573, 0x1402776e3\nnop                                                                    ; +0x578, 0x1402776e8\nmov     cs:qword_1406C2ED8, rax                                        ; +0x579, 0x1402776e9\nmov     rdx, [rax]                                                     ; +0x580, 0x1402776f0\nmov     rcx, rax                                                       ; +0x583, 0x1402776f3\ncall    qword ptr [rdx+48h]                                            ; +0x586, 0x1402776f6\nmov     r10, [rsi+1C0h]                                                ; +0x589, 0x1402776f9\nmov     edx, r14d                                                      ; +0x590, 0x140277700\ncall    GameManager__iconTypeToUnlockType                              ; +0x593, 0x140277703\nmov     r8d, eax                                                       ; +0x598, 0x140277708\nmov     edx, ebp                                                       ; +0x59b, 0x14027770b\nlea     rcx, [rsi+1C0h]                                                ; +0x59d, 0x14027770d\ncall    qword ptr [r10+8]                                              ; +0x5a4, 0x140277714\nmov     [rsi+250h], ebp                                                ; +0x5a8, 0x140277718\nmov     [rsi+254h], r14d                                               ; +0x5ae, 0x14027771e\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x5b5, 0x140277725\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x5ba, 0x14027772a\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x5bf, 0x14027772f\nadd     rsp, 20h                                                       ; +0x5c4, 0x140277734\npop     r15                                                            ; +0x5c8, 0x140277738\npop     r14                                                            ; +0x5ca, 0x14027773a\npop     r13                                                            ; +0x5cc, 0x14027773c\npop     r12                                                            ; +0x5ce, 0x14027773e\npop     rdi                                                            ; +0x5d0, 0x140277740\nretn                                                                   ; +0x5d1, 0x140277741\nalign 4                                                                ; +0x5d2, 0x140277742\ndd offset loc_1402772AE - 140000000h; jump table for switch statement  ; +0x5d4, 0x140277744\ndb      0,     1,     2,     3; indirect table for switch statement    ; +0x608, 0x140277778\nalign 20h                                                              ; +0x66e, 0x1402777de\ndd offset loc_140277633 - 140000000h; jump table for switch statement  ; +0x670, 0x1402777e0", "xrefs": ["GJGarageLayer::getItems @ 0x1402768e0", "<???> @ 0x1406d0fa4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}