{"type": "func", "start": 8309212, "end": 8309276, "name": "GJMGLayer::toggleVisible01", "pseudocode": "// \n// GJMGLayer::toggleVisible01 from 0x7ec9dc to 0x7eca1c (64 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xb5890\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::toggleVisible01(GJMGLayer *a1, bool a2)\n{\n  _BOOL4 v2; // w2\n  GJMGLayer_vtbl *v3; // x3\n  _BOOL8 m_showGround2; // x1\n  void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x3\n\n  v2 = a2;\n  if ( a1->m_showGround1 != a2 )\n  {\n    v3 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    m_showGround2 = 0;\n    a1->m_showGround1 = v2;\n    setVisible = v3->setVisible;\n    if ( v2 )\n      m_showGround2 = a1->m_showGround2;\n    setVisible(a1, m_showGround2);\n  }\n}", "assembly": "; \n; GJMGLayer::toggleVisible01 from 0x7ec9dc to 0x7eca1c (64 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xb5890\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, 0x7ec9dc\nUXTB            W2, W1                                                 ; +0x4, 0x7ec9e0\nMOV             X29, SP                                                ; +0x8, 0x7ec9e4\nLDRB            W1, [X0,#0x1C0]                                        ; +0xc, 0x7ec9e8\nCMP             W1, W2                                                 ; +0x10, 0x7ec9ec\nB.EQ            loc_7ECA0C                                             ; +0x14, 0x7ec9f0\nLDR             X3, [X0]                                               ; +0x18, 0x7ec9f4\nMOV             W1, #0                                                 ; +0x1c, 0x7ec9f8\nSTRB            W2, [X0,#0x1C0]                                        ; +0x20, 0x7ec9fc\nLDR             X3, [X3,#0x148]                                        ; +0x24, 0x7eca00\nCBNZ            W2, loc_7ECA14                                         ; +0x28, 0x7eca04\nBLR             X3                                                     ; +0x2c, 0x7eca08\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0x7eca0c\nRET                                                                    ; +0x34, 0x7eca10\nLDRB            W1, [X0,#0x1C1]                                        ; +0x38, 0x7eca14\nB               loc_7ECA08                                             ; +0x3c, 0x7eca18", "xrefs": ["<???> @ 0xb5890"], "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"}