{"type": "func", "start": 7937784, "end": 7937900, "name": "GJGarageLayer::toggleGlow", "pseudocode": "// \n// GJGarageLayer::toggleGlow from 0x791ef8 to 0x791f6c (116 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x56ac0\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; // x21\n  GameManager *v3; // x0\n  SimplePlayer *m_playerObject; // x20\n  bool m_playerGlow; // w1\n  SimplePlayer *v6; // x0\n\n  v2 = GameManager::sharedState();\n  v3 = GameManager::sharedState();\n  m_playerObject = a1->m_playerObject;\n  v2->m_playerGlow = !v3->m_playerGlow;\n  m_playerGlow = GameManager::sharedState()->m_playerGlow;\n  v6 = a1->m_playerObject;\n  m_playerObject->m_hasGlowOutline = m_playerGlow;\n  SimplePlayer::updateColors(v6);\n  if ( GameManager::sharedState()->m_playerGlow )\n    GJGarageLayer::playRainbowEffect(a1);\n}", "assembly": "; \n; GJGarageLayer::toggleGlow from 0x791ef8 to 0x791f6c (116 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x56ac0\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x791ef8\nMOV             X29, SP                                                ; +0x4, 0x791efc\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x791f00\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x791f04\nMOV             X19, X0                                                ; +0x10, 0x791f08\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x791f0c\nMOV             X21, X0                                                ; +0x18, 0x791f10\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1c, 0x791f14\nLDRB            W0, [X0,#0x328]                                        ; +0x20, 0x791f18\nLDR             X20, [X19,#0x1D8]                                      ; +0x24, 0x791f1c\nEOR             W0, W0, #1; this                                       ; +0x28, 0x791f20\nSTRB            W0, [X21,#0x328]                                       ; +0x2c, 0x791f24\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x30, 0x791f28\nLDRB            W1, [X0,#0x328]                                        ; +0x34, 0x791f2c\nLDR             X0, [X19,#0x1D8]; this                                 ; +0x38, 0x791f30\nSTRB            W1, [X20,#0x294]                                       ; +0x3c, 0x791f34\nBL              _ZN12SimplePlayer12updateColorsEv; SimplePlayer::updateColors(void) ; +0x40, 0x791f38\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x44, 0x791f3c\nLDRB            W0, [X0,#0x328]                                        ; +0x48, 0x791f40\nCBNZ            W0, loc_791F58                                         ; +0x4c, 0x791f44\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x50, 0x791f48\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x54, 0x791f4c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x791f50\nRET                                                                    ; +0x5c, 0x791f54\nMOV             X0, X19; this                                          ; +0x60, 0x791f58\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x64, 0x791f5c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0x791f60\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0x791f64\nB               _ZN13GJGarageLayer17playRainbowEffectEv; GJGarageLayer::playRainbowEffect(void) ; +0x70, 0x791f68", "xrefs": ["<???> @ 0x56ac0"], "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"}