{"type": "func", "start": 4410956, "end": 4410988, "name": "GJMGLayer::toggleVisible02", "pseudocode": "// \n// GJMGLayer::toggleVisible02 from 0x434e4c to 0x434e6c (32 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::toggleMGVisibility @ 0x30ee2c\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::toggleVisible02(GJMGLayer *a1, bool a2)\n{\n  GJMGLayer_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; GJMGLayer::toggleVisible02 from 0x434e4c to 0x434e6c (32 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::toggleMGVisibility @ 0x30ee2c\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,#0x155]                                        ; +0x0, 0x434e4c\nCMP             R2, R1                                                 ; +0x4, 0x434e50\nBEQ             locret_434E6A                                          ; +0x6, 0x434e52\nLDRB.W          R3, [R0,#0x154]                                        ; +0x8, 0x434e54\nLDR             R2, [R0]                                               ; +0xc, 0x434e58\nCMP             R3, #0                                                 ; +0xe, 0x434e5a\nSTRB.W          R1, [R0,#0x155]                                        ; +0x10, 0x434e5c\nLDR.W           R2, [R2,#0xA4]                                         ; +0x14, 0x434e60\nIT EQ                                                                  ; +0x18, 0x434e64\nMOVEQ           R1, R3                                                 ; +0x1a, 0x434e66\nBX              R2                                                     ; +0x1c, 0x434e68\nBX              LR                                                     ; +0x1e, 0x434e6a", "xrefs": ["PlayLayer::toggleMGVisibility @ 0x30ee2c"], "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"}