{"type": "func", "start": 4301173840, "end": 4301173886, "name": "GJGroundLayer::toggleVisible02", "pseudocode": "// \n// GJGroundLayer::toggleVisible02 from 0x1005eb450 to 0x1005eb47e (46 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::toggleGroundVisibility @ 0x1000b9d13\n// > PlayLayer::toggleGroundVisibility @ 0x1000b9d25\n// > GJBaseGameLayer::resetLevelVariables @ 0x1001598d5\n// > GJBaseGameLayer::resetLevelVariables @ 0x1001598e6\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 GJGroundLayer::toggleVisible02(GJGroundLayer *a1, bool a2)\n{\n  if ( a1->m_showGround2 != a2 )\n  {\n    a1->m_showGround2 = a2;\n    ((void (__fastcall *)(GJGroundLayer *, bool))a1->setVisible)(a1, a1->m_showGround1 && a2);\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible02 from 0x1005eb450 to 0x1005eb47e (46 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::toggleGroundVisibility @ 0x1000b9d13\n; > PlayLayer::toggleGroundVisibility @ 0x1000b9d25\n; > GJBaseGameLayer::resetLevelVariables @ 0x1001598d5\n; > GJBaseGameLayer::resetLevelVariables @ 0x1001598e6\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, 0x1005eb450\nmov     rbp, rsp                                                       ; +0x1, 0x1005eb451\ncmp     [rdi+1C9h], sil                                                ; +0x4, 0x1005eb454\njnz     short loc_1005EB45F                                            ; +0xb, 0x1005eb45b\npop     rbp                                                            ; +0xd, 0x1005eb45d\nretn                                                                   ; +0xe, 0x1005eb45e\nmov     [rdi+1C9h], sil                                                ; +0xf, 0x1005eb45f\nand     sil, [rdi+1C8h]                                                ; +0x16, 0x1005eb466\nmov     rax, [rdi]                                                     ; +0x1d, 0x1005eb46d\nmov     rax, [rax+148h]                                                ; +0x20, 0x1005eb470\nmovzx   esi, sil                                                       ; +0x27, 0x1005eb477\npop     rbp                                                            ; +0x2b, 0x1005eb47b\njmp     rax                                                            ; +0x2c, 0x1005eb47c", "xrefs": ["PlayLayer::toggleGroundVisibility @ 0x1000b9d13", "PlayLayer::toggleGroundVisibility @ 0x1000b9d25", "GJBaseGameLayer::resetLevelVariables @ 0x1001598d5", "GJBaseGameLayer::resetLevelVariables @ 0x1001598e6"], "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"}