{"type": "func", "start": 4410928, "end": 4410956, "name": "GJMGLayer::toggleVisible01", "pseudocode": "// \n// GJMGLayer::toggleVisible01 from 0x434e30 to 0x434e4c (28 bytes)\n// \n// 0 xrefs:\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  GJMGLayer_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; GJMGLayer::toggleVisible01 from 0x434e30 to 0x434e4c (28 bytes)\n; \n; 0 xrefs:\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,#0x154]                                        ; +0x0, 0x434e30\nCMP             R3, R1                                                 ; +0x4, 0x434e34\nBEQ             locret_434E4A                                          ; +0x6, 0x434e36\nLDR             R3, [R0]                                               ; +0x8, 0x434e38\nSTRB.W          R1, [R0,#0x154]                                        ; +0xa, 0x434e3a\nLDR.W           R3, [R3,#0xA4]                                         ; +0xe, 0x434e3e\nCBZ             R1, loc_434E48                                         ; +0x12, 0x434e42\nLDRB.W          R1, [R0,#0x155]                                        ; +0x14, 0x434e44\nBX              R3                                                     ; +0x18, 0x434e48\nBX              LR                                                     ; +0x1a, 0x434e4a", "xrefs": [], "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"}