{"type": "func", "start": 4407904, "end": 4407932, "name": "GJGroundLayer::toggleVisible01", "pseudocode": "// \n// GJGroundLayer::toggleVisible01 from 0x434260 to 0x43427c (28 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x477780\n// > GJBaseGameLayer::updateCameraBGArt @ 0x4777b0\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  GJGroundLayer_vtbl *v2; // r3\n  void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // r3\n\n  if ( a1->m_showGround1 != a2 )\n  {\n    v2 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_showGround1 = a2;\n    setVisible = v2->setVisible;\n    if ( a2 )\n      *(_DWORD *)&a2 = a1->m_showGround2;\n    setVisible(a1, a2);\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible01 from 0x434260 to 0x43427c (28 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x477780\n; > GJBaseGameLayer::updateCameraBGArt @ 0x4777b0\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.W          R3, [R0,#0x15C]                                        ; +0x0, 0x434260\nCMP             R3, R1                                                 ; +0x4, 0x434264\nBEQ             locret_43427A                                          ; +0x6, 0x434266\nLDR             R3, [R0]                                               ; +0x8, 0x434268\nSTRB.W          R1, [R0,#0x15C]                                        ; +0xa, 0x43426a\nLDR.W           R3, [R3,#0xA4]                                         ; +0xe, 0x43426e\nCBZ             R1, loc_434278                                         ; +0x12, 0x434272\nLDRB.W          R1, [R0,#0x15D]                                        ; +0x14, 0x434274\nBX              R3                                                     ; +0x18, 0x434278\nBX              LR                                                     ; +0x1a, 0x43427a", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x477780", "GJBaseGameLayer::updateCameraBGArt @ 0x4777b0"], "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"}