{"type": "func", "start": 4298566848, "end": 4298566956, "name": "GJGarageLayer::toggleGlow", "pseudocode": "// \n// GJGarageLayer::toggleGlow from 0x10036ecc0 to 0x10036ed2c (108 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 __fastcall GJGarageLayer::toggleGlow(GJGarageLayer *a1)\n{\n  GameManager *v1; // r14\n  SimplePlayer *m_playerObject; // r14\n\n  v1 = GameManager::sharedState();\n  v1->m_playerGlow = !GameManager::sharedState()->m_playerGlow;\n  m_playerObject = a1->m_playerObject;\n  m_playerObject->m_hasGlowOutline = GameManager::sharedState()->m_playerGlow;\n  SimplePlayer::updateColors(a1->m_playerObject);\n  if ( GameManager::sharedState()->m_playerGlow )\n    GJGarageLayer::playRainbowEffect(a1);\n}", "assembly": "; \n; GJGarageLayer::toggleGlow from 0x10036ecc0 to 0x10036ed2c (108 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    rbp                                                            ; +0x0, 0x10036ecc0\nmov     rbp, rsp                                                       ; +0x1, 0x10036ecc1\npush    r14                                                            ; +0x4, 0x10036ecc4\npush    rbx                                                            ; +0x6, 0x10036ecc6\nmov     rbx, rdi                                                       ; +0x7, 0x10036ecc7\ncall    GameManager__sharedState                                       ; +0xa, 0x10036ecca\nmov     r14, rax                                                       ; +0xf, 0x10036eccf\ncall    GameManager__sharedState                                       ; +0x12, 0x10036ecd2\nmovzx   eax, byte ptr [rax+368h]                                       ; +0x17, 0x10036ecd7\nxor     al, 1                                                          ; +0x1e, 0x10036ecde\nmov     [r14+368h], al                                                 ; +0x20, 0x10036ece0\nmov     r14, [rbx+1D8h]                                                ; +0x27, 0x10036ece7\ncall    GameManager__sharedState                                       ; +0x2e, 0x10036ecee\nmovzx   eax, byte ptr [rax+368h]                                       ; +0x33, 0x10036ecf3\nmov     [r14+294h], al                                                 ; +0x3a, 0x10036ecfa\nmov     rdi, [rbx+1D8h]                                                ; +0x41, 0x10036ed01\ncall    SimplePlayer__updateColors                                     ; +0x48, 0x10036ed08\ncall    GameManager__sharedState                                       ; +0x4d, 0x10036ed0d\ncmp     byte ptr [rax+368h], 1                                         ; +0x52, 0x10036ed12\njnz     short loc_10036ED27                                            ; +0x59, 0x10036ed19\nmov     rdi, rbx                                                       ; +0x5b, 0x10036ed1b\npop     rbx                                                            ; +0x5e, 0x10036ed1e\npop     r14                                                            ; +0x5f, 0x10036ed1f\npop     rbp                                                            ; +0x61, 0x10036ed21\njmp     GJGarageLayer__playRainbowEffect                               ; +0x62, 0x10036ed22\npop     rbx                                                            ; +0x67, 0x10036ed27\npop     r14                                                            ; +0x68, 0x10036ed28\npop     rbp                                                            ; +0x6a, 0x10036ed2a\nretn                                                                   ; +0x6b, 0x10036ed2b", "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"}