{"type": "func", "start": 8304540, "end": 8304604, "name": "GJGroundLayer::toggleVisible01", "pseudocode": "// \n// GJGroundLayer::toggleVisible01 from 0x7eb79c to 0x7eb7dc (64 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x8672cc\n// > GJBaseGameLayer::updateCameraBGArt @ 0x867300\n// > <???> @ 0x30030\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 GJGroundLayer::toggleVisible01(GJGroundLayer *a1, bool a2)\n{\n  _BOOL4 v2; // w2\n  GJGroundLayer_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; GJGroundLayer::toggleVisible01 from 0x7eb79c to 0x7eb7dc (64 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x8672cc\n; > GJBaseGameLayer::updateCameraBGArt @ 0x867300\n; > <???> @ 0x30030\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, 0x7eb79c\nUXTB            W2, W1                                                 ; +0x4, 0x7eb7a0\nMOV             X29, SP                                                ; +0x8, 0x7eb7a4\nLDRB            W1, [X0,#0x1C8]                                        ; +0xc, 0x7eb7a8\nCMP             W1, W2                                                 ; +0x10, 0x7eb7ac\nB.EQ            loc_7EB7CC                                             ; +0x14, 0x7eb7b0\nLDR             X3, [X0]                                               ; +0x18, 0x7eb7b4\nMOV             W1, #0                                                 ; +0x1c, 0x7eb7b8\nSTRB            W2, [X0,#0x1C8]                                        ; +0x20, 0x7eb7bc\nLDR             X3, [X3,#0x148]                                        ; +0x24, 0x7eb7c0\nCBNZ            W2, loc_7EB7D4                                         ; +0x28, 0x7eb7c4\nBLR             X3                                                     ; +0x2c, 0x7eb7c8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0x7eb7cc\nRET                                                                    ; +0x34, 0x7eb7d0\nLDRB            W1, [X0,#0x1C9]                                        ; +0x38, 0x7eb7d4\nB               loc_7EB7C8                                             ; +0x3c, 0x7eb7d8", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x8672cc", "GJBaseGameLayer::updateCameraBGArt @ 0x867300", "<???> @ 0x30030"], "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"}