{"type": "func", "start": 4301177952, "end": 4301177998, "name": "GJMGLayer::toggleVisible02", "pseudocode": "// \n// GJMGLayer::toggleVisible02 from 0x1005ec460 to 0x1005ec48e (46 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::toggleMGVisibility @ 0x1000b9d45\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 __fastcall GJMGLayer::toggleVisible02(GJMGLayer *a1, bool a2)\n{\n  if ( a1->m_showGround2 != a2 )\n  {\n    a1->m_showGround2 = a2;\n    ((void (__fastcall *)(GJMGLayer *, bool))a1->setVisible)(a1, a1->m_showGround1 && a2);\n  }\n}", "assembly": "; \n; GJMGLayer::toggleVisible02 from 0x1005ec460 to 0x1005ec48e (46 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::toggleMGVisibility @ 0x1000b9d45\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\npush    rbp                                                            ; +0x0, 0x1005ec460\nmov     rbp, rsp                                                       ; +0x1, 0x1005ec461\ncmp     [rdi+1C1h], sil                                                ; +0x4, 0x1005ec464\njnz     short loc_1005EC46F                                            ; +0xb, 0x1005ec46b\npop     rbp                                                            ; +0xd, 0x1005ec46d\nretn                                                                   ; +0xe, 0x1005ec46e\nmov     [rdi+1C1h], sil                                                ; +0xf, 0x1005ec46f\nand     sil, [rdi+1C0h]                                                ; +0x16, 0x1005ec476\nmov     rax, [rdi]                                                     ; +0x1d, 0x1005ec47d\nmov     rax, [rax+148h]                                                ; +0x20, 0x1005ec480\nmovzx   esi, sil                                                       ; +0x27, 0x1005ec487\npop     rbp                                                            ; +0x2b, 0x1005ec48b\njmp     rax                                                            ; +0x2c, 0x1005ec48c", "xrefs": ["PlayLayer::toggleMGVisibility @ 0x1000b9d45"], "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"}