{"type": "func", "start": 8309276, "end": 8309332, "name": "GJMGLayer::toggleVisible02", "pseudocode": "// \n// GJMGLayer::toggleVisible02 from 0x7eca1c to 0x7eca54 (56 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::toggleMGVisibility @ 0x5c9190\n// > <???> @ 0x98880\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 GJMGLayer::toggleVisible02(GJMGLayer *a1, bool a2)\n{\n  GJMGLayer_vtbl *v2; // x4\n  bool m_showGround1; // w3\n\n  if ( a1->m_showGround2 != a2 )\n  {\n    v2 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    m_showGround1 = a1->m_showGround1;\n    a1->m_showGround2 = a2;\n    v2->setVisible(a1, a2 && m_showGround1);\n  }\n}", "assembly": "; \n; GJMGLayer::toggleVisible02 from 0x7eca1c to 0x7eca54 (56 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::toggleMGVisibility @ 0x5c9190\n; > <???> @ 0x98880\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x7eca1c\nUXTB            W1, W1                                                 ; +0x4, 0x7eca20\nMOV             X29, SP                                                ; +0x8, 0x7eca24\nLDRB            W3, [X0,#0x1C1]                                        ; +0xc, 0x7eca28\nCMP             W3, W1                                                 ; +0x10, 0x7eca2c\nB.EQ            loc_7ECA4C                                             ; +0x14, 0x7eca30\nLDR             X4, [X0]                                               ; +0x18, 0x7eca34\nLDRB            W3, [X0,#0x1C0]                                        ; +0x1c, 0x7eca38\nSTRB            W1, [X0,#0x1C1]                                        ; +0x20, 0x7eca3c\nLDR             X2, [X4,#0x148]                                        ; +0x24, 0x7eca40\nAND             W1, W1, W3                                             ; +0x28, 0x7eca44\nBLR             X2                                                     ; +0x2c, 0x7eca48\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0x7eca4c\nRET                                                                    ; +0x34, 0x7eca50", "xrefs": ["PlayLayer::toggleMGVisibility @ 0x5c9190", "<???> @ 0x98880"], "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"}