{"type": "func", "start": 4208416, "end": 4209420, "name": "GJGarageLayer::onSelect", "pseudocode": "// \n// GJGarageLayer::onSelect from 0x403720 to 0x403b0c (1004 bytes)\n// \n// 0 xrefs:\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\nvoid GJGarageLayer::onSelect(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  int v4; // r0\n  IconType m_uID; // r5\n  int v6; // r4\n  GameManager *v7; // r0\n  void (__fastcall *showUnlockPopup)(GJGarageLayer *__hidden, int, UnlockType); // r7\n  GameManager *v9; // r0\n  UnlockType v10; // r0\n  GameManager *v11; // r0\n  GameManager *v12; // r9\n  int v13; // s15\n  GameManager *v14; // r0\n  GameManager *v15; // r9\n  int v16; // s15\n  GameManager *v17; // r0\n  GameManager *v18; // r9\n  int v19; // s15\n  GameManager *v20; // r0\n  GameManager *v21; // r9\n  int v22; // s15\n  GameManager *v23; // r0\n  GameManager *v24; // r9\n  int v25; // s15\n  GameManager *v26; // r0\n  GameManager *v27; // r9\n  int v28; // s15\n  GameManager *v29; // r9\n  int v30; // s15\n  GameManager *v31; // r0\n  GameManager *v32; // r9\n  int v33; // s15\n  GameManager *v34; // r9\n  int v35; // s15\n  GameManager *v36; // r0\n  GameManager *v37; // r9\n  int v38; // s15\n  GameManager *v39; // r0\n  GameManager *v40; // r9\n  int v41; // s15\n  GameManager *v42; // r0\n  GameManager *v43; // r9\n  int v44; // s15\n  cocos2d::CCSprite *m_cursor1; // r9\n  void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10\n  cocos2d::CCNode *v47; // r11\n  const cocos2d::CCPoint *v48; // r0\n  GameManager *v49; // r0\n  SimplePlayer *m_playerObject; // r7\n  void (__fastcall *setScale)(cocos2d::CCSprite *__hidden, float); // r9\n  float v52; // r1\n  void (__fastcall *v53)(GJGarageLayer *__hidden, int, UnlockType); // r7\n  GameManager *v54; // r0\n  UnlockType v55; // r0\n  cocos2d::CCPoint v56; // [sp+4h] [bp-10h] BYREF\n\n  v4 = a2->getTag(a2);\n  m_uID = a2[7].m_uID;\n  v6 = v4;\n  v7 = GameManager::sharedState();\n  if ( !GameManager::isIconUnlocked(v7, v6, m_uID) )\n  {\n    showUnlockPopup = a1->showUnlockPopup;\n    v9 = GameManager::sharedState();\n    v10 = GameManager::iconTypeToUnlockType(v9, m_uID);\n    showUnlockPopup(a1, v6, v10);\n    return;\n  }\n  GameManager::sharedState()->m_scoreValid = 0;\n  if ( m_uID == Robot )\n  {\n    v31 = GameManager::sharedState();\n    v31->m_playerRobot.value = v6;\n    v32 = v31;\n    v33 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n    v32->m_playerRobot.seed = v33;\n    v32->m_playerRobot.random = v33 + v6;\n  }\n  else if ( m_uID > Robot )\n  {\n    if ( m_uID == Jetpack )\n    {\n      v39 = GameManager::sharedState();\n      v39->m_playerJetpack.value = v6;\n      v40 = v39;\n      v41 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n      v40->m_playerJetpack.seed = v41;\n      v40->m_playerJetpack.random = v41 + v6;\n    }\n    else if ( m_uID > Jetpack )\n    {\n      switch ( m_uID )\n      {\n        case Special:\n          v36 = GameManager::sharedState();\n          v36->m_playerStreak.value = v6;\n          v37 = v36;\n          v38 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n          v37->m_playerStreak.seed = v38;\n          v37->m_playerStreak.random = v38 + v6;\n          break;\n        case ShipFire:\n          v42 = GameManager::sharedState();\n          v42->m_playerShipFire.value = v6;\n          v43 = v42;\n          v44 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n          v43->m_playerShipFire.seed = v44;\n          v43->m_playerShipFire.random = v44 + v6;\n          break;\n        case DeathEffect:\n          v20 = GameManager::sharedState();\n          v20->m_playerDeathEffect.value = v6;\n          v21 = v20;\n          v22 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n          v21->m_playerDeathEffect.seed = v22;\n          v21->m_playerDeathEffect.random = v22 + v6;\n          break;\n      }\n    }\n    else\n    {\n      v17 = GameManager::sharedState();\n      if ( m_uID == Spider )\n      {\n        v17->m_playerSpider.value = v6;\n        v34 = v17;\n        v35 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n        v34->m_playerSpider.seed = v35;\n        v34->m_playerSpider.random = v35 + v6;\n      }\n      else\n      {\n        v17->m_playerSwing.value = v6;\n        v18 = v17;\n        v19 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n        v18->m_playerSwing.seed = v19;\n        v18->m_playerSwing.random = v19 + v6;\n      }\n    }\n  }\n  else if ( m_uID == Ball )\n  {\n    v26 = GameManager::sharedState();\n    v26->m_playerBall.value = v6;\n    v27 = v26;\n    v28 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n    v27->m_playerBall.seed = v28;\n    v27->m_playerBall.random = v28 + v6;\n  }\n  else if ( m_uID > Ball )\n  {\n    v14 = GameManager::sharedState();\n    if ( m_uID == Ufo )\n    {\n      v14->m_playerBird.value = v6;\n      v29 = v14;\n      v30 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n      v29->m_playerBird.seed = v30;\n      v29->m_playerBird.random = v30 + v6;\n    }\n    else\n    {\n      v14->m_playerDart.value = v6;\n      v15 = v14;\n      v16 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n      v15->m_playerDart.seed = v16;\n      v15->m_playerDart.random = v16 + v6;\n    }\n  }\n  else if ( m_uID )\n  {\n    if ( m_uID == Ship )\n    {\n      v11 = GameManager::sharedState();\n      v11->m_playerShip.value = v6;\n      v12 = v11;\n      v13 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n      v12->m_playerShip.seed = v13;\n      v12->m_playerShip.random = v13 + v6;\n    }\n  }\n  else\n  {\n    v23 = GameManager::sharedState();\n    v23->m_playerFrame.value = v6;\n    v24 = v23;\n    v25 = (int)(float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0);\n    v24->m_playerFrame.seed = v25;\n    v24->m_playerFrame.random = v25 + v6;\n  }\n  SimplePlayer::updateColors(a1->m_playerObject);\n  if ( m_uID == Special )\n  {\n    if ( v6 == 2 )\n      GJGarageLayer::playRainbowEffect(a1);\n    goto LABEL_33;\n  }\n  if ( m_uID != ShipFire )\n  {\nLABEL_33:\n    m_cursor1 = a1->m_cursor1;\n    goto LABEL_34;\n  }\n  m_cursor1 = a1->m_cursor2;\nLABEL_34:\n  setPosition = m_cursor1->setPosition;\n  v47 = (cocos2d::CCNode *)((int (__fastcall *)(cocos2d::CCObject *))a2->__vftable[6].~CCObject_0)(a2);\n  v48 = (const cocos2d::CCPoint *)((int (__fastcall *)(cocos2d::CCObject *))a2->__vftable[2].acceptVisitor)(a2);\n  cocos2d::CCNode::convertToWorldSpace(&v56, v47, v48);\n  setPosition(m_cursor1, &v56);\n  m_cursor1->setVisible(m_cursor1, 1);\n  if ( (unsigned int)m_uID <= Jetpack )\n  {\n    SimplePlayer::updatePlayerFrame(a1->m_playerObject, v6, a1->m_iconType);\n    v49 = GameManager::sharedState();\n    m_playerObject = a1->m_playerObject;\n    v49->m_playerIconType = a1->m_iconType;\n    setScale = m_playerObject->setScale;\n    if ( GameManager::sharedState()->m_playerIconType == Jetpack )\n      v52 = 1.5;\n    else\n      v52 = 1.6;\n    ((void (__fastcall *)(SimplePlayer *, _DWORD))setScale)(m_playerObject, LODWORD(v52));\n  }\n  if ( a1->m_iconID == v6 && a1->m_selectedIconType == m_uID )\n  {\n    v53 = a1->showUnlockPopup;\n    v54 = GameManager::sharedState();\n    v55 = GameManager::iconTypeToUnlockType(v54, m_uID);\n    v53(a1, v6, v55);\n  }\n  a1->m_iconID = v6;\n  a1->m_selectedIconType = m_uID;\n}", "assembly": "; \n; GJGarageLayer::onSelect from 0x403720 to 0x403b0c (1004 bytes)\n; \n; 0 xrefs:\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\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x403720\nSUB             SP, SP, #0x14                                          ; +0x4, 0x403724\nLDR.W           R8, =(__stack_chk_guard_ptr - 0x403734)                ; +0x6, 0x403726\nMOV             R6, R0                                                 ; +0xa, 0x40372a\nMOV             R0, R1                                                 ; +0xc, 0x40372c\nMOV             R7, R1                                                 ; +0xe, 0x40372e\nADD             R8, PC; __stack_chk_guard_ptr                          ; +0x10, 0x403730\nLDR.W           R8, [R8]; __stack_chk_guard                            ; +0x12, 0x403732\nLDR.W           R3, [R8]                                               ; +0x16, 0x403736\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x1a, 0x40373a\nLDR             R3, [R1]                                               ; +0x1c, 0x40373c\nLDR             R3, [R3,#0x20]                                         ; +0x1e, 0x40373e\nBLX             R3                                                     ; +0x20, 0x403740\nLDR.W           R5, [R7,#0x170]                                        ; +0x22, 0x403742\nMOV             R4, R0                                                 ; +0x26, 0x403746\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x403748\nMOV             R1, R4                                                 ; +0x2c, 0x40374c\nMOV             R2, R5                                                 ; +0x2e, 0x40374e\nBL              _ZN11GameManager14isIconUnlockedEi8IconType; GameManager::isIconUnlocked(int,IconType) ; +0x30, 0x403750\nCBNZ            R0, loc_403770                                         ; +0x34, 0x403754\nLDR             R3, [R6]                                               ; +0x36, 0x403756\nLDR.W           R7, [R3,#0x248]                                        ; +0x38, 0x403758\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x40375c\nMOV             R1, R5                                                 ; +0x40, 0x403760\nBL              _ZN11GameManager20iconTypeToUnlockTypeE8IconType; GameManager::iconTypeToUnlockType(IconType) ; +0x42, 0x403762\nMOV             R1, R4                                                 ; +0x46, 0x403766\nMOV             R2, R0                                                 ; +0x48, 0x403768\nMOV             R0, R6                                                 ; +0x4a, 0x40376a\nBLX             R7                                                     ; +0x4c, 0x40376c\nB               loc_403AF8                                             ; +0x4e, 0x40376e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x50, 0x403770\nCMP             R5, #5                                                 ; +0x54, 0x403774\nMOV.W           R3, #0                                                 ; +0x56, 0x403776\nSTRB.W          R3, [R0,#0x194]                                        ; +0x5a, 0x40377a\nBEQ.W           loc_403926                                             ; +0x5e, 0x40377e\nBGT             loc_403806                                             ; +0x62, 0x403782\nCMP             R5, #2                                                 ; +0x64, 0x403784\nBEQ.W           loc_4038C2                                             ; +0x66, 0x403786\nBGT             loc_4037C8                                             ; +0x6a, 0x40378a\nCMP             R5, #0                                                 ; +0x6c, 0x40378c\nBEQ             loc_403890                                             ; +0x6e, 0x40378e\nCMP             R5, #1                                                 ; +0x70, 0x403790\nBNE.W           loc_403A1E                                             ; +0x72, 0x403792\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x76, 0x403796\nSTR.W           R4, [R0,#0x1E0]                                        ; +0x7a, 0x40379a\nMOV             R9, R0                                                 ; +0x7e, 0x40379e\nBLX             rand                                                   ; +0x80, 0x4037a0\nVLDR            S14, =1000.0                                           ; +0x84, 0x4037a4\nVMOV            S15, R0                                                ; +0x88, 0x4037a8\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x8c, 0x4037ac\nVMUL.F32        S15, S15, S14                                          ; +0x90, 0x4037b0\nVCVT.S32.F32    S15, S15                                               ; +0x94, 0x4037b4\nVMOV            R3, S15                                                ; +0x98, 0x4037b8\nVSTR            S15, [R9,#0x1DC]                                       ; +0x9c, 0x4037bc\nADD             R3, R4                                                 ; +0xa0, 0x4037c0\nSTR.W           R3, [R9,#0x1D8]                                        ; +0xa2, 0x4037c2\nB               loc_403A1E                                             ; +0xa6, 0x4037c6\nCMP             R5, #3                                                 ; +0xa8, 0x4037c8\nBEQ.W           loc_4038F4                                             ; +0xaa, 0x4037ca\nCMP             R5, #4                                                 ; +0xae, 0x4037ce\nBNE.W           loc_403A1E                                             ; +0xb0, 0x4037d0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xb4, 0x4037d4\nSTR.W           R4, [R0,#0x204]                                        ; +0xb8, 0x4037d8\nMOV             R9, R0                                                 ; +0xbc, 0x4037dc\nBLX             rand                                                   ; +0xbe, 0x4037de\nVLDR            S14, =1000.0                                           ; +0xc2, 0x4037e2\nVMOV            S15, R0                                                ; +0xc6, 0x4037e6\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0xca, 0x4037ea\nVMUL.F32        S15, S15, S14                                          ; +0xce, 0x4037ee\nVCVT.S32.F32    S15, S15                                               ; +0xd2, 0x4037f2\nVMOV            R3, S15                                                ; +0xd6, 0x4037f6\nVSTR            S15, [R9,#0x200]                                       ; +0xda, 0x4037fa\nADD             R3, R4                                                 ; +0xde, 0x4037fe\nSTR.W           R3, [R9,#0x1FC]                                        ; +0xe0, 0x403800\nB               loc_403A1E                                             ; +0xe4, 0x403804\nCMP             R5, #8                                                 ; +0xe6, 0x403806\nBEQ.W           loc_4039BC                                             ; +0xe8, 0x403808\nBGT             loc_40384C                                             ; +0xec, 0x40380c\nCMP             R5, #6                                                 ; +0xee, 0x40380e\nBEQ.W           loc_403958                                             ; +0xf0, 0x403810\nCMP             R5, #7                                                 ; +0xf4, 0x403814\nBNE.W           loc_403A1E                                             ; +0xf6, 0x403816\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xfa, 0x40381a\nSTR.W           R4, [R0,#0x228]                                        ; +0xfe, 0x40381e\nMOV             R9, R0                                                 ; +0x102, 0x403822\nBLX             rand                                                   ; +0x104, 0x403824\nVLDR            S14, =1000.0                                           ; +0x108, 0x403828\nVMOV            S15, R0                                                ; +0x10c, 0x40382c\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x110, 0x403830\nVMUL.F32        S15, S15, S14                                          ; +0x114, 0x403834\nVCVT.S32.F32    S15, S15                                               ; +0x118, 0x403838\nVMOV            R3, S15                                                ; +0x11c, 0x40383c\nVSTR            S15, [R9,#0x224]                                       ; +0x120, 0x403840\nADD             R3, R4                                                 ; +0x124, 0x403844\nSTR.W           R3, [R9,#0x220]                                        ; +0x126, 0x403846\nB               loc_403A1E                                             ; +0x12a, 0x40384a\nCMP             R5, #0x63 ; 'c'                                        ; +0x12c, 0x40384c\nBEQ.W           loc_40398A                                             ; +0x12e, 0x40384e\nCMP             R5, #0x65 ; 'e'                                        ; +0x132, 0x403852\nBEQ.W           loc_4039EE                                             ; +0x134, 0x403854\nCMP             R5, #0x62 ; 'b'                                        ; +0x138, 0x403858\nBNE.W           loc_403A1E                                             ; +0x13a, 0x40385a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x13e, 0x40385e\nSTR.W           R4, [R0,#0x270]                                        ; +0x142, 0x403862\nMOV             R9, R0                                                 ; +0x146, 0x403866\nBLX             rand                                                   ; +0x148, 0x403868\nVLDR            S14, =1000.0                                           ; +0x14c, 0x40386c\nVMOV            S15, R0                                                ; +0x150, 0x403870\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x154, 0x403874\nVMUL.F32        S15, S15, S14                                          ; +0x158, 0x403878\nVCVT.S32.F32    S15, S15                                               ; +0x15c, 0x40387c\nVMOV            R3, S15                                                ; +0x160, 0x403880\nVSTR            S15, [R9,#0x26C]                                       ; +0x164, 0x403884\nADD             R3, R4                                                 ; +0x168, 0x403888\nSTR.W           R3, [R9,#0x268]                                        ; +0x16a, 0x40388a\nB               loc_403A1E                                             ; +0x16e, 0x40388e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x170, 0x403890\nSTR.W           R4, [R0,#0x1D4]                                        ; +0x174, 0x403894\nMOV             R9, R0                                                 ; +0x178, 0x403898\nBLX             rand                                                   ; +0x17a, 0x40389a\nVLDR            S14, =1000.0                                           ; +0x17e, 0x40389e\nVMOV            S15, R0                                                ; +0x182, 0x4038a2\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x186, 0x4038a6\nVMUL.F32        S15, S15, S14                                          ; +0x18a, 0x4038aa\nVCVT.S32.F32    S15, S15                                               ; +0x18e, 0x4038ae\nVMOV            R3, S15                                                ; +0x192, 0x4038b2\nVSTR            S15, [R9,#0x1D0]                                       ; +0x196, 0x4038b6\nADD             R3, R4                                                 ; +0x19a, 0x4038ba\nSTR.W           R3, [R9,#0x1CC]                                        ; +0x19c, 0x4038bc\nB               loc_403A1E                                             ; +0x1a0, 0x4038c0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1a2, 0x4038c2\nSTR.W           R4, [R0,#0x1EC]                                        ; +0x1a6, 0x4038c6\nMOV             R9, R0                                                 ; +0x1aa, 0x4038ca\nBLX             rand                                                   ; +0x1ac, 0x4038cc\nVLDR            S14, =1000.0                                           ; +0x1b0, 0x4038d0\nVMOV            S15, R0                                                ; +0x1b4, 0x4038d4\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x1b8, 0x4038d8\nVMUL.F32        S15, S15, S14                                          ; +0x1bc, 0x4038dc\nVCVT.S32.F32    S15, S15                                               ; +0x1c0, 0x4038e0\nVMOV            R3, S15                                                ; +0x1c4, 0x4038e4\nVSTR            S15, [R9,#0x1E8]                                       ; +0x1c8, 0x4038e8\nADD             R3, R4                                                 ; +0x1cc, 0x4038ec\nSTR.W           R3, [R9,#0x1E4]                                        ; +0x1ce, 0x4038ee\nB               loc_403A1E                                             ; +0x1d2, 0x4038f2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1d4, 0x4038f4\nSTR.W           R4, [R0,#0x1F8]                                        ; +0x1d8, 0x4038f8\nMOV             R9, R0                                                 ; +0x1dc, 0x4038fc\nBLX             rand                                                   ; +0x1de, 0x4038fe\nVLDR            S14, =1000.0                                           ; +0x1e2, 0x403902\nVMOV            S15, R0                                                ; +0x1e6, 0x403906\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x1ea, 0x40390a\nVMUL.F32        S15, S15, S14                                          ; +0x1ee, 0x40390e\nVCVT.S32.F32    S15, S15                                               ; +0x1f2, 0x403912\nVMOV            R3, S15                                                ; +0x1f6, 0x403916\nVSTR            S15, [R9,#0x1F4]                                       ; +0x1fa, 0x40391a\nADD             R3, R4                                                 ; +0x1fe, 0x40391e\nSTR.W           R3, [R9,#0x1F0]                                        ; +0x200, 0x403920\nB               loc_403A1E                                             ; +0x204, 0x403924\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x206, 0x403926\nSTR.W           R4, [R0,#0x210]                                        ; +0x20a, 0x40392a\nMOV             R9, R0                                                 ; +0x20e, 0x40392e\nBLX             rand                                                   ; +0x210, 0x403930\nVLDR            S14, =1000.0                                           ; +0x214, 0x403934\nVMOV            S15, R0                                                ; +0x218, 0x403938\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x21c, 0x40393c\nVMUL.F32        S15, S15, S14                                          ; +0x220, 0x403940\nVCVT.S32.F32    S15, S15                                               ; +0x224, 0x403944\nVMOV            R3, S15                                                ; +0x228, 0x403948\nVSTR            S15, [R9,#0x20C]                                       ; +0x22c, 0x40394c\nADD             R3, R4                                                 ; +0x230, 0x403950\nSTR.W           R3, [R9,#0x208]                                        ; +0x232, 0x403952\nB               loc_403A1E                                             ; +0x236, 0x403956\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x238, 0x403958\nSTR.W           R4, [R0,#0x21C]                                        ; +0x23c, 0x40395c\nMOV             R9, R0                                                 ; +0x240, 0x403960\nBLX             rand                                                   ; +0x242, 0x403962\nVLDR            S14, =1000.0                                           ; +0x246, 0x403966\nVMOV            S15, R0                                                ; +0x24a, 0x40396a\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x24e, 0x40396e\nVMUL.F32        S15, S15, S14                                          ; +0x252, 0x403972\nVCVT.S32.F32    S15, S15                                               ; +0x256, 0x403976\nVMOV            R3, S15                                                ; +0x25a, 0x40397a\nVSTR            S15, [R9,#0x218]                                       ; +0x25e, 0x40397e\nADD             R3, R4                                                 ; +0x262, 0x403982\nSTR.W           R3, [R9,#0x214]                                        ; +0x264, 0x403984\nB               loc_403A1E                                             ; +0x268, 0x403988\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x26a, 0x40398a\nSTR.W           R4, [R0,#0x258]                                        ; +0x26e, 0x40398e\nMOV             R9, R0                                                 ; +0x272, 0x403992\nBLX             rand                                                   ; +0x274, 0x403994\nVLDR            S14, =1000.0                                           ; +0x278, 0x403998\nVMOV            S15, R0                                                ; +0x27c, 0x40399c\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x280, 0x4039a0\nVMUL.F32        S15, S15, S14                                          ; +0x284, 0x4039a4\nVCVT.S32.F32    S15, S15                                               ; +0x288, 0x4039a8\nVMOV            R3, S15                                                ; +0x28c, 0x4039ac\nVSTR            S15, [R9,#0x254]                                       ; +0x290, 0x4039b0\nADD             R3, R4                                                 ; +0x294, 0x4039b4\nSTR.W           R3, [R9,#0x250]                                        ; +0x296, 0x4039b6\nB               loc_403A1E                                             ; +0x29a, 0x4039ba\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x29c, 0x4039bc\nSTR.W           R4, [R0,#0x27C]                                        ; +0x2a0, 0x4039c0\nMOV             R9, R0                                                 ; +0x2a4, 0x4039c4\nBLX             rand                                                   ; +0x2a6, 0x4039c6\nVLDR            S14, =1000.0                                           ; +0x2aa, 0x4039ca\nVMOV            S15, R0                                                ; +0x2ae, 0x4039ce\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x2b2, 0x4039d2\nVMUL.F32        S15, S15, S14                                          ; +0x2b6, 0x4039d6\nVCVT.S32.F32    S15, S15                                               ; +0x2ba, 0x4039da\nVMOV            R3, S15                                                ; +0x2be, 0x4039de\nVSTR            S15, [R9,#0x278]                                       ; +0x2c2, 0x4039e2\nADD             R3, R4                                                 ; +0x2c6, 0x4039e6\nSTR.W           R3, [R9,#0x274]                                        ; +0x2c8, 0x4039e8\nB               loc_403A1E                                             ; +0x2cc, 0x4039ec\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2ce, 0x4039ee\nSTR.W           R4, [R0,#0x264]                                        ; +0x2d2, 0x4039f2\nMOV             R9, R0                                                 ; +0x2d6, 0x4039f6\nBLX             rand                                                   ; +0x2d8, 0x4039f8\nVLDR            S14, =1000.0                                           ; +0x2dc, 0x4039fc\nVMOV            S15, R0                                                ; +0x2e0, 0x403a00\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x2e4, 0x403a04\nVMUL.F32        S15, S15, S14                                          ; +0x2e8, 0x403a08\nVCVT.S32.F32    S15, S15                                               ; +0x2ec, 0x403a0c\nVMOV            R3, S15                                                ; +0x2f0, 0x403a10\nVSTR            S15, [R9,#0x260]                                       ; +0x2f4, 0x403a14\nADD             R3, R4                                                 ; +0x2f8, 0x403a18\nSTR.W           R3, [R9,#0x25C]                                        ; +0x2fa, 0x403a1a\nLDR.W           R0, [R6,#0x15C]; this                                  ; +0x2fe, 0x403a1e\nBL              _ZN12SimplePlayer12updateColorsEv; SimplePlayer::updateColors(void) ; +0x302, 0x403a22\nCMP             R5, #0x63 ; 'c'                                        ; +0x306, 0x403a26\nBNE             loc_403A36                                             ; +0x308, 0x403a28\nCMP             R4, #2                                                 ; +0x30a, 0x403a2a\nBNE             loc_403A40                                             ; +0x30c, 0x403a2c\nMOV             R0, R6; this                                           ; +0x30e, 0x403a2e\nBL              _ZN13GJGarageLayer17playRainbowEffectEv; GJGarageLayer::playRainbowEffect(void) ; +0x310, 0x403a30\nB               loc_403A40                                             ; +0x314, 0x403a34\nCMP             R5, #0x65 ; 'e'                                        ; +0x316, 0x403a36\nBNE             loc_403A40                                             ; +0x318, 0x403a38\nLDR.W           R9, [R6,#0x194]                                        ; +0x31a, 0x403a3a\nB               loc_403A44                                             ; +0x31e, 0x403a3e\nLDR.W           R9, [R6,#0x190]                                        ; +0x320, 0x403a40\nLDR.W           R3, [R9]                                               ; +0x324, 0x403a44\nMOV             R0, R7                                                 ; +0x328, 0x403a48\nLDR.W           R10, [R3,#0x5C]                                        ; +0x32a, 0x403a4a\nLDR             R3, [R7]                                               ; +0x32e, 0x403a4e\nLDR.W           R3, [R3,#0xF8]                                         ; +0x330, 0x403a50\nBLX             R3                                                     ; +0x334, 0x403a54\nLDR             R3, [R7]                                               ; +0x336, 0x403a56\nLDR             R3, [R3,#0x60]                                         ; +0x338, 0x403a58\nMOV             R11, R0                                                ; +0x33a, 0x403a5a\nMOV             R0, R7                                                 ; +0x33c, 0x403a5c\nBLX             R3                                                     ; +0x33e, 0x403a5e\nADD             R7, SP, #0x14+var_10                                   ; +0x340, 0x403a60\nMOV             R1, R11; cocos2d::CCPoint *                            ; +0x342, 0x403a62\nMOV             R2, R0                                                 ; +0x344, 0x403a64\nMOV             R0, R7; this                                           ; +0x346, 0x403a66\nBL              _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x348, 0x403a68\nMOV             R0, R9                                                 ; +0x34c, 0x403a6c\nMOV             R1, R7                                                 ; +0x34e, 0x403a6e\nBLX             R10                                                    ; +0x350, 0x403a70\nLDR.W           R3, [R9]                                               ; +0x352, 0x403a72\nMOV             R0, R9                                                 ; +0x356, 0x403a76\nMOVS            R1, #1                                                 ; +0x358, 0x403a78\nLDR.W           R3, [R3,#0xA4]                                         ; +0x35a, 0x403a7a\nBLX             R3                                                     ; +0x35e, 0x403a7e\nCMP             R5, #8                                                 ; +0x360, 0x403a80\nBHI             loc_403AC8                                             ; +0x362, 0x403a82\nMOV             R1, R4                                                 ; +0x364, 0x403a84\nLDR.W           R2, [R6,#0x174]                                        ; +0x366, 0x403a86\nLDR.W           R0, [R6,#0x15C]                                        ; +0x36a, 0x403a8a\nBL              _ZN12SimplePlayer17updatePlayerFrameEi8IconType; SimplePlayer::updatePlayerFrame(int,IconType) ; +0x36e, 0x403a8e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x372, 0x403a92\nLDR.W           R3, [R6,#0x174]                                        ; +0x376, 0x403a96\nLDR.W           R7, [R6,#0x15C]                                        ; +0x37a, 0x403a9a\nSTR.W           R3, [R0,#0x294]                                        ; +0x37e, 0x403a9e\nLDR             R3, [R7]                                               ; +0x382, 0x403aa2\nLDR.W           R9, [R3,#0x50]                                         ; +0x384, 0x403aa4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x388, 0x403aa8\nVMOV.F32        S14, #1.5                                              ; +0x38c, 0x403aac\nVLDR            S15, =1.6                                              ; +0x390, 0x403ab0\nLDR.W           R3, [R0,#0x294]                                        ; +0x394, 0x403ab4\nMOV             R0, R7                                                 ; +0x398, 0x403ab8\nCMP             R3, #8                                                 ; +0x39a, 0x403aba\nITE NE                                                                 ; +0x39c, 0x403abc\nVMOVNE          R1, S15                                                ; +0x39e, 0x403abe\nVMOVEQ          R1, S14                                                ; +0x3a2, 0x403ac2\nBLX             R9                                                     ; +0x3a6, 0x403ac6\nLDR.W           R3, [R6,#0x1AC]                                        ; +0x3a8, 0x403ac8\nCMP             R3, R4                                                 ; +0x3ac, 0x403acc\nBNE             loc_403AF0                                             ; +0x3ae, 0x403ace\nLDR.W           R3, [R6,#0x1B0]                                        ; +0x3b0, 0x403ad0\nCMP             R3, R5                                                 ; +0x3b4, 0x403ad4\nBNE             loc_403AF0                                             ; +0x3b6, 0x403ad6\nLDR             R3, [R6]                                               ; +0x3b8, 0x403ad8\nLDR.W           R7, [R3,#0x248]                                        ; +0x3ba, 0x403ada\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3be, 0x403ade\nMOV             R1, R5                                                 ; +0x3c2, 0x403ae2\nBL              _ZN11GameManager20iconTypeToUnlockTypeE8IconType; GameManager::iconTypeToUnlockType(IconType) ; +0x3c4, 0x403ae4\nMOV             R1, R4                                                 ; +0x3c8, 0x403ae8\nMOV             R2, R0                                                 ; +0x3ca, 0x403aea\nMOV             R0, R6                                                 ; +0x3cc, 0x403aec\nBLX             R7                                                     ; +0x3ce, 0x403aee\nSTR.W           R4, [R6,#0x1AC]                                        ; +0x3d0, 0x403af0\nSTR.W           R5, [R6,#0x1B0]                                        ; +0x3d4, 0x403af4\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x3d8, 0x403af8\nLDR.W           R3, [R8]                                               ; +0x3da, 0x403afa\nCMP             R2, R3                                                 ; +0x3de, 0x403afe\nBEQ             loc_403B06                                             ; +0x3e0, 0x403b00\nBLX             __stack_chk_fail                                       ; +0x3e2, 0x403b02\nADD             SP, SP, #0x14                                          ; +0x3e6, 0x403b06\nPOP.W           {R4-R11,PC}                                            ; +0x3e8, 0x403b08", "xrefs": [], "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"}