{"type": "func", "start": 4302038240, "end": 4302038286, "name": "GJGroundLayer::toggleVisible02", "pseudocode": "// \n// GJGroundLayer::toggleVisible02 from 0x1006be4e0 to 0x1006be50e (46 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::toggleGroundVisibility @ 0x100087633\n// > PlayLayer::toggleGroundVisibility @ 0x100087645\n// > GJBaseGameLayer::resetLevelVariables @ 0x100138d95\n// > GJBaseGameLayer::resetLevelVariables @ 0x100138da6\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\n__int64 __fastcall GJGroundLayer::toggleVisible02(_BYTE *a1, char a2)\n{\n  __int64 result; // rax\n\n  if ( a1[457] != a2 )\n  {\n    a1[457] = a2;\n    return (*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 344LL))(a1, (unsigned __int8)(a1[456] & a2));\n  }\n  return result;\n}", "assembly": "; \n; GJGroundLayer::toggleVisible02 from 0x1006be4e0 to 0x1006be50e (46 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::toggleGroundVisibility @ 0x100087633\n; > PlayLayer::toggleGroundVisibility @ 0x100087645\n; > GJBaseGameLayer::resetLevelVariables @ 0x100138d95\n; > GJBaseGameLayer::resetLevelVariables @ 0x100138da6\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, 0x1006be4e0\nmov     rbp, rsp                                                       ; +0x1, 0x1006be4e1\ncmp     [rdi+1C9h], sil                                                ; +0x4, 0x1006be4e4\njnz     short loc_1006BE4EF                                            ; +0xb, 0x1006be4eb\npop     rbp                                                            ; +0xd, 0x1006be4ed\nretn                                                                   ; +0xe, 0x1006be4ee\nmov     [rdi+1C9h], sil                                                ; +0xf, 0x1006be4ef\nand     sil, [rdi+1C8h]                                                ; +0x16, 0x1006be4f6\nmov     rax, [rdi]                                                     ; +0x1d, 0x1006be4fd\nmov     rax, [rax+158h]                                                ; +0x20, 0x1006be500\nmovzx   esi, sil                                                       ; +0x27, 0x1006be507\npop     rbp                                                            ; +0x2b, 0x1006be50b\njmp     rax                                                            ; +0x2c, 0x1006be50c", "xrefs": ["PlayLayer::toggleGroundVisibility @ 0x100087633", "PlayLayer::toggleGroundVisibility @ 0x100087645", "GJBaseGameLayer::resetLevelVariables @ 0x100138d95", "GJBaseGameLayer::resetLevelVariables @ 0x100138da6"], "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"}