{"type": "func", "start": 4407932, "end": 4407964, "name": "GJGroundLayer::toggleVisible02", "pseudocode": "// \n// GJGroundLayer::toggleVisible02 from 0x43427c to 0x43429c (32 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::toggleGroundVisibility @ 0x30ee14\n// > PlayLayer::toggleGroundVisibility @ 0x30ee22\n// > GJBaseGameLayer::resetLevelVariables @ 0x491e76\n// > GJBaseGameLayer::resetLevelVariables @ 0x491e82\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; // r2\n\n  if ( a1->m_showGround2 != a2 )\n  {\n    v2 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_showGround2 = a2;\n    ((void (*)(void))v2->setVisible)();\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible02 from 0x43427c to 0x43429c (32 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::toggleGroundVisibility @ 0x30ee14\n; > PlayLayer::toggleGroundVisibility @ 0x30ee22\n; > GJBaseGameLayer::resetLevelVariables @ 0x491e76\n; > GJBaseGameLayer::resetLevelVariables @ 0x491e82\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          R2, [R0,#0x15D]                                        ; +0x0, 0x43427c\nCMP             R2, R1                                                 ; +0x4, 0x434280\nBEQ             locret_43429A                                          ; +0x6, 0x434282\nLDRB.W          R3, [R0,#0x15C]                                        ; +0x8, 0x434284\nLDR             R2, [R0]                                               ; +0xc, 0x434288\nCMP             R3, #0                                                 ; +0xe, 0x43428a\nSTRB.W          R1, [R0,#0x15D]                                        ; +0x10, 0x43428c\nLDR.W           R2, [R2,#0xA4]                                         ; +0x14, 0x434290\nIT EQ                                                                  ; +0x18, 0x434294\nMOVEQ           R1, R3                                                 ; +0x1a, 0x434296\nBX              R2                                                     ; +0x1c, 0x434298\nBX              LR                                                     ; +0x1e, 0x43429a", "xrefs": ["PlayLayer::toggleGroundVisibility @ 0x30ee14", "PlayLayer::toggleGroundVisibility @ 0x30ee22", "GJBaseGameLayer::resetLevelVariables @ 0x491e76", "GJBaseGameLayer::resetLevelVariables @ 0x491e82"], "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"}