{"type": "func", "start": 4298473696, "end": 4298473804, "name": "GJGarageLayer::toggleGlow", "pseudocode": "// \n// GJGarageLayer::toggleGlow from 0x1003580e0 to 0x10035814c (108 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:52 +0000\n// \n\nvoid __fastcall GJGarageLayer::toggleGlow(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // r14\n  __int64 v6; // rdx\n  __int64 v7; // rax\n  __int64 v8; // r14\n  __int64 v9; // rdx\n  __int64 v10; // rax\n  __int64 v11; // rdi\n  __int64 v12; // rdx\n  __int64 v13; // rax\n\n  GameManager::sharedState(a1, a2, a3);\n  v5 = v4;\n  GameManager::sharedState(a1, a2, v6);\n  *(_BYTE *)(v5 + 912) = *(_BYTE *)(v7 + 912) ^ 1;\n  v8 = *(_QWORD *)(a1 + 472);\n  GameManager::sharedState(a1, a2, v9);\n  *(_BYTE *)(v8 + 660) = *(_BYTE *)(v10 + 912);\n  v11 = *(_QWORD *)(a1 + 472);\n  SimplePlayer::updateColors(v11);\n  GameManager::sharedState(v11, a2, v12);\n  if ( *(_BYTE *)(v13 + 912) == 1 )\n    GJGarageLayer::playRainbowEffect((_QWORD **)a1);\n}", "assembly": "; \n; GJGarageLayer::toggleGlow from 0x1003580e0 to 0x10035814c (108 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003580e0\nmov     rbp, rsp                                                       ; +0x1, 0x1003580e1\npush    r14                                                            ; +0x4, 0x1003580e4\npush    rbx                                                            ; +0x6, 0x1003580e6\nmov     rbx, rdi                                                       ; +0x7, 0x1003580e7\ncall    GameManager__sharedState                                       ; +0xa, 0x1003580ea\nmov     r14, rax                                                       ; +0xf, 0x1003580ef\ncall    GameManager__sharedState                                       ; +0x12, 0x1003580f2\nmovzx   eax, byte ptr [rax+390h]                                       ; +0x17, 0x1003580f7\nxor     al, 1                                                          ; +0x1e, 0x1003580fe\nmov     [r14+390h], al                                                 ; +0x20, 0x100358100\nmov     r14, [rbx+1D8h]                                                ; +0x27, 0x100358107\ncall    GameManager__sharedState                                       ; +0x2e, 0x10035810e\nmovzx   eax, byte ptr [rax+390h]                                       ; +0x33, 0x100358113\nmov     [r14+294h], al                                                 ; +0x3a, 0x10035811a\nmov     rdi, [rbx+1D8h]                                                ; +0x41, 0x100358121\ncall    SimplePlayer__updateColors                                     ; +0x48, 0x100358128\ncall    GameManager__sharedState                                       ; +0x4d, 0x10035812d\ncmp     byte ptr [rax+390h], 1                                         ; +0x52, 0x100358132\njnz     short loc_100358147                                            ; +0x59, 0x100358139\nmov     rdi, rbx                                                       ; +0x5b, 0x10035813b\npop     rbx                                                            ; +0x5e, 0x10035813e\npop     r14                                                            ; +0x5f, 0x10035813f\npop     rbp                                                            ; +0x61, 0x100358141\njmp     GJGarageLayer__playRainbowEffect                               ; +0x62, 0x100358142\npop     rbx                                                            ; +0x67, 0x100358147\npop     r14                                                            ; +0x68, 0x100358148\npop     rbp                                                            ; +0x6a, 0x10035814a\nretn                                                                   ; +0x6b, 0x10035814b", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}