{"type": "func", "start": 4295151236, "end": 4295151276, "name": "GJMGLayer::toggleVisible02", "pseudocode": "// \n// GJMGLayer::toggleVisible02 from 0x10002ce84 to 0x10002ceac (40 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::toggleMGVisibility @ 0x10011e89c\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 GJMGLayer::toggleVisible02(GJMGLayer *a1, bool a2)\n{\n  if ( a1->m_showGround2 != a2 )\n  {\n    a1->m_showGround2 = a2;\n    ((void (__fastcall *)(GJMGLayer *, bool))a1->setVisible)(a1, a1->m_showGround1 && a2);\n  }\n}", "assembly": "; \n; GJMGLayer::toggleVisible02 from 0x10002ce84 to 0x10002ceac (40 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::toggleMGVisibility @ 0x10011e89c\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,#0x1C1]                                        ; +0x0, 0x10002ce84\nCMP             W8, W1                                                 ; +0x4, 0x10002ce88\nB.NE            loc_10002CE94                                          ; +0x8, 0x10002ce8c\nRET                                                                    ; +0xc, 0x10002ce90\nSTRB            W1, [X0,#0x1C1]                                        ; +0x10, 0x10002ce94\nLDRB            W8, [X0,#0x1C0]                                        ; +0x14, 0x10002ce98\nLDR             X9, [X0]                                               ; +0x18, 0x10002ce9c\nLDR             X2, [X9,#0x148]                                        ; +0x1c, 0x10002cea0\nAND             W1, W8, W1                                             ; +0x20, 0x10002cea4\nBR              X2                                                     ; +0x24, 0x10002cea8", "xrefs": ["PlayLayer::toggleMGVisibility @ 0x10011e89c"], "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"}