{"type": "func", "start": 4206748, "end": 4206820, "name": "GJGarageLayer::toggleGlow", "pseudocode": "// \n// GJGarageLayer::toggleGlow from 0x40309c to 0x4030e4 (72 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::toggleGlow(GJGarageLayer *a1)\n{\n  GameManager *v2; // r5\n  SimplePlayer *m_playerObject; // r5\n  bool m_playerGlow; // r3\n  SimplePlayer *v5; // r0\n\n  v2 = GameManager::sharedState();\n  v2->m_playerGlow = !GameManager::sharedState()->m_playerGlow;\n  m_playerObject = a1->m_playerObject;\n  m_playerGlow = GameManager::sharedState()->m_playerGlow;\n  v5 = a1->m_playerObject;\n  m_playerObject->m_hasGlowOutline = m_playerGlow;\n  SimplePlayer::updateColors(v5);\n  if ( GameManager::sharedState()->m_playerGlow )\n    GJGarageLayer::playRainbowEffect(a1);\n}", "assembly": "; \n; GJGarageLayer::toggleGlow from 0x40309c to 0x4030e4 (72 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            {R3-R5,LR}                                             ; +0x0, 0x40309c\nMOV             R4, R0                                                 ; +0x2, 0x40309e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x4030a0\nMOV             R5, R0                                                 ; +0x8, 0x4030a4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x4030a6\nLDRB.W          R3, [R0,#0x290]                                        ; +0xe, 0x4030aa\nEOR.W           R3, R3, #1                                             ; +0x12, 0x4030ae\nSTRB.W          R3, [R5,#0x290]                                        ; +0x16, 0x4030b2\nLDR.W           R5, [R4,#0x15C]                                        ; +0x1a, 0x4030b6\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1e, 0x4030ba\nLDRB.W          R3, [R0,#0x290]                                        ; +0x22, 0x4030be\nLDR.W           R0, [R4,#0x15C]; this                                  ; +0x26, 0x4030c2\nSTRB.W          R3, [R5,#0x21C]                                        ; +0x2a, 0x4030c6\nBL              _ZN12SimplePlayer12updateColorsEv; SimplePlayer::updateColors(void) ; +0x2e, 0x4030ca\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x32, 0x4030ce\nLDRB.W          R3, [R0,#0x290]                                        ; +0x36, 0x4030d2\nCBZ             R3, locret_4030E2                                      ; +0x3a, 0x4030d6\nMOV             R0, R4; this                                           ; +0x3c, 0x4030d8\nPOP.W           {R3-R5,LR}                                             ; +0x3e, 0x4030da\nB.W             _ZN13GJGarageLayer17playRainbowEffectEv; GJGarageLayer::playRainbowEffect(void) ; +0x42, 0x4030de\nPOP             {R3-R5,PC}                                             ; +0x46, 0x4030e2", "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"}