{"type": "func", "start": 8304604, "end": 8304660, "name": "GJGroundLayer::toggleVisible02", "pseudocode": "// \n// GJGroundLayer::toggleVisible02 from 0x7eb7dc to 0x7eb814 (56 bytes)\n// \n// 5 xrefs:\n// > PlayLayer::toggleGroundVisibility @ 0x5c916c\n// > PlayLayer::toggleGroundVisibility @ 0x5c9180\n// > GJBaseGameLayer::resetLevelVariables @ 0x88af9c\n// > GJBaseGameLayer::resetLevelVariables @ 0x88afa8\n// > <???> @ 0xb2f38\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::toggleVisible02(GJGroundLayer *a1, bool a2)\n{\n  GJGroundLayer_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; GJGroundLayer::toggleVisible02 from 0x7eb7dc to 0x7eb814 (56 bytes)\n; \n; 5 xrefs:\n; > PlayLayer::toggleGroundVisibility @ 0x5c916c\n; > PlayLayer::toggleGroundVisibility @ 0x5c9180\n; > GJBaseGameLayer::resetLevelVariables @ 0x88af9c\n; > GJBaseGameLayer::resetLevelVariables @ 0x88afa8\n; > <???> @ 0xb2f38\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, 0x7eb7dc\nUXTB            W1, W1                                                 ; +0x4, 0x7eb7e0\nMOV             X29, SP                                                ; +0x8, 0x7eb7e4\nLDRB            W3, [X0,#0x1C9]                                        ; +0xc, 0x7eb7e8\nCMP             W3, W1                                                 ; +0x10, 0x7eb7ec\nB.EQ            loc_7EB80C                                             ; +0x14, 0x7eb7f0\nLDR             X4, [X0]                                               ; +0x18, 0x7eb7f4\nLDRB            W3, [X0,#0x1C8]                                        ; +0x1c, 0x7eb7f8\nSTRB            W1, [X0,#0x1C9]                                        ; +0x20, 0x7eb7fc\nLDR             X2, [X4,#0x148]                                        ; +0x24, 0x7eb800\nAND             W1, W1, W3                                             ; +0x28, 0x7eb804\nBLR             X2                                                     ; +0x2c, 0x7eb808\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0x7eb80c\nRET                                                                    ; +0x34, 0x7eb810", "xrefs": ["PlayLayer::toggleGroundVisibility @ 0x5c916c", "PlayLayer::toggleGroundVisibility @ 0x5c9180", "GJBaseGameLayer::resetLevelVariables @ 0x88af9c", "GJBaseGameLayer::resetLevelVariables @ 0x88afa8", "<???> @ 0xb2f38"], "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"}