{"type": "func", "start": 4302038176, "end": 4302038230, "name": "GJGroundLayer::toggleVisible01", "pseudocode": "// \n// GJGroundLayer::toggleVisible01 from 0x1006be4a0 to 0x1006be4d6 (54 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10013b028\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10013b05f\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:35:30 +0000\n// \n\nvoid __fastcall GJGroundLayer::toggleVisible01(_BYTE *a1, char a2)\n{\n  unsigned __int8 v2; // al\n\n  if ( a1[456] != a2 )\n  {\n    a1[456] = a2;\n    if ( a2 )\n      v2 = a1[457];\n    else\n      v2 = 0;\n    (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 344LL))(a1, v2);\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible01 from 0x1006be4a0 to 0x1006be4d6 (54 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10013b028\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10013b05f\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:35:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006be4a0\nmov     rbp, rsp                                                       ; +0x1, 0x1006be4a1\ncmp     [rdi+1C8h], sil                                                ; +0x4, 0x1006be4a4\njnz     short loc_1006BE4AF                                            ; +0xb, 0x1006be4ab\npop     rbp                                                            ; +0xd, 0x1006be4ad\nretn                                                                   ; +0xe, 0x1006be4ae\nmov     [rdi+1C8h], sil                                                ; +0xf, 0x1006be4af\ntest    sil, sil                                                       ; +0x16, 0x1006be4b6\njz      short loc_1006BE4C4                                            ; +0x19, 0x1006be4b9\nmovzx   eax, byte ptr [rdi+1C9h]                                       ; +0x1b, 0x1006be4bb\njmp     short loc_1006BE4C6                                            ; +0x22, 0x1006be4c2\nxor     eax, eax                                                       ; +0x24, 0x1006be4c4\nmov     rcx, [rdi]                                                     ; +0x26, 0x1006be4c6\nmov     rcx, [rcx+158h]                                                ; +0x29, 0x1006be4c9\nmovzx   esi, al                                                        ; +0x30, 0x1006be4d0\npop     rbp                                                            ; +0x33, 0x1006be4d3\njmp     rcx                                                            ; +0x34, 0x1006be4d4", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x10013b028", "GJBaseGameLayer::updateCameraBGArt @ 0x10013b05f"], "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"}