{"type": "func", "start": 4301177888, "end": 4301177942, "name": "GJMGLayer::toggleVisible01", "pseudocode": "// \n// GJMGLayer::toggleVisible01 from 0x1005ec420 to 0x1005ec456 (54 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 __fastcall GJMGLayer::toggleVisible01(GJMGLayer *a1, bool a2)\n{\n  bool v2; // al\n\n  if ( a1->m_showGround1 != a2 )\n  {\n    a1->m_showGround1 = a2;\n    v2 = a2 && a1->m_showGround2;\n    ((void (__fastcall *)(GJMGLayer *, bool))a1->setVisible)(a1, v2);\n  }\n}", "assembly": "; \n; GJMGLayer::toggleVisible01 from 0x1005ec420 to 0x1005ec456 (54 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\npush    rbp                                                            ; +0x0, 0x1005ec420\nmov     rbp, rsp                                                       ; +0x1, 0x1005ec421\ncmp     [rdi+1C0h], sil                                                ; +0x4, 0x1005ec424\njnz     short loc_1005EC42F                                            ; +0xb, 0x1005ec42b\npop     rbp                                                            ; +0xd, 0x1005ec42d\nretn                                                                   ; +0xe, 0x1005ec42e\nmov     [rdi+1C0h], sil                                                ; +0xf, 0x1005ec42f\ntest    sil, sil                                                       ; +0x16, 0x1005ec436\njz      short loc_1005EC444                                            ; +0x19, 0x1005ec439\nmovzx   eax, byte ptr [rdi+1C1h]                                       ; +0x1b, 0x1005ec43b\njmp     short loc_1005EC446                                            ; +0x22, 0x1005ec442\nxor     eax, eax                                                       ; +0x24, 0x1005ec444\nmov     rcx, [rdi]                                                     ; +0x26, 0x1005ec446\nmov     rcx, [rcx+148h]                                                ; +0x29, 0x1005ec449\nmovzx   esi, al                                                        ; +0x30, 0x1005ec450\npop     rbp                                                            ; +0x33, 0x1005ec453\njmp     rcx                                                            ; +0x34, 0x1005ec454", "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"}