{"type": "func", "start": 4295148180, "end": 4295148220, "name": "GJGroundLayer::toggleVisible02", "pseudocode": "// \n// GJGroundLayer::toggleVisible02 from 0x10002c294 to 0x10002c2bc (40 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::toggleGroundVisibility @ 0x10011e87c\n// > PlayLayer::toggleGroundVisibility @ 0x10011e890\n// > GJBaseGameLayer::resetLevelVariables @ 0x1002026c4\n// > GJBaseGameLayer::resetLevelVariables @ 0x1002026d0\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 0x10002c294 to 0x10002c2bc (40 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::toggleGroundVisibility @ 0x10011e87c\n; > PlayLayer::toggleGroundVisibility @ 0x10011e890\n; > GJBaseGameLayer::resetLevelVariables @ 0x1002026c4\n; > GJBaseGameLayer::resetLevelVariables @ 0x1002026d0\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\nLDRB            W8, [X0,#0x1C9]                                        ; +0x0, 0x10002c294\nCMP             W8, W1                                                 ; +0x4, 0x10002c298\nB.NE            loc_10002C2A4                                          ; +0x8, 0x10002c29c\nRET                                                                    ; +0xc, 0x10002c2a0\nSTRB            W1, [X0,#0x1C9]                                        ; +0x10, 0x10002c2a4\nLDRB            W8, [X0,#0x1C8]                                        ; +0x14, 0x10002c2a8\nLDR             X9, [X0]                                               ; +0x18, 0x10002c2ac\nLDR             X2, [X9,#0x148]                                        ; +0x1c, 0x10002c2b0\nAND             W1, W8, W1                                             ; +0x20, 0x10002c2b4\nBR              X2                                                     ; +0x24, 0x10002c2b8", "xrefs": ["PlayLayer::toggleGroundVisibility @ 0x10011e87c", "PlayLayer::toggleGroundVisibility @ 0x10011e890", "GJBaseGameLayer::resetLevelVariables @ 0x1002026c4", "GJBaseGameLayer::resetLevelVariables @ 0x1002026d0"], "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"}