{"type": "func", "start": 4295148128, "end": 4295148180, "name": "GJGroundLayer::toggleVisible01", "pseudocode": "// \n// GJGroundLayer::toggleVisible01 from 0x10002c260 to 0x10002c294 (52 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x100203bac\n// > GJBaseGameLayer::updateCameraBGArt @ 0x100203be4\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::toggleVisible01(GJGroundLayer *a1, bool a2)\n{\n  bool v2; // w8\n\n  if ( a1->m_showGround1 != a2 )\n  {\n    a1->m_showGround1 = a2;\n    v2 = a2 && a1->m_showGround2;\n    ((void (__fastcall *)(GJGroundLayer *, bool))a1->setVisible)(a1, v2);\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible01 from 0x10002c260 to 0x10002c294 (52 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x100203bac\n; > GJBaseGameLayer::updateCameraBGArt @ 0x100203be4\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,#0x1C8]                                        ; +0x0, 0x10002c260\nCMP             W8, W1                                                 ; +0x4, 0x10002c264\nB.NE            loc_10002C270                                          ; +0x8, 0x10002c268\nRET                                                                    ; +0xc, 0x10002c26c\nSTRB            W1, [X0,#0x1C8]                                        ; +0x10, 0x10002c270\nCBZ             W1, loc_10002C280                                      ; +0x14, 0x10002c274\nLDRB            W8, [X0,#0x1C9]                                        ; +0x18, 0x10002c278\nB               loc_10002C284                                          ; +0x1c, 0x10002c27c\nMOV             W8, #0                                                 ; +0x20, 0x10002c280\nLDR             X9, [X0]                                               ; +0x24, 0x10002c284\nLDR             X2, [X9,#0x148]                                        ; +0x28, 0x10002c288\nAND             W1, W8, #1                                             ; +0x2c, 0x10002c28c\nBR              X2                                                     ; +0x30, 0x10002c290", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x100203bac", "GJBaseGameLayer::updateCameraBGArt @ 0x100203be4"], "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"}