{"type": "func", "start": 4301173776, "end": 4301173830, "name": "GJGroundLayer::toggleVisible01", "pseudocode": "// \n// GJGroundLayer::toggleVisible01 from 0x1005eb410 to 0x1005eb446 (54 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10015bac8\n// > GJBaseGameLayer::updateCameraBGArt @ 0x10015baff\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 GJGroundLayer::toggleVisible01(GJGroundLayer *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 *)(GJGroundLayer *, bool))a1->setVisible)(a1, v2);\n  }\n}", "assembly": "; \n; GJGroundLayer::toggleVisible01 from 0x1005eb410 to 0x1005eb446 (54 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10015bac8\n; > GJBaseGameLayer::updateCameraBGArt @ 0x10015baff\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, 0x1005eb410\nmov     rbp, rsp                                                       ; +0x1, 0x1005eb411\ncmp     [rdi+1C8h], sil                                                ; +0x4, 0x1005eb414\njnz     short loc_1005EB41F                                            ; +0xb, 0x1005eb41b\npop     rbp                                                            ; +0xd, 0x1005eb41d\nretn                                                                   ; +0xe, 0x1005eb41e\nmov     [rdi+1C8h], sil                                                ; +0xf, 0x1005eb41f\ntest    sil, sil                                                       ; +0x16, 0x1005eb426\njz      short loc_1005EB434                                            ; +0x19, 0x1005eb429\nmovzx   eax, byte ptr [rdi+1C9h]                                       ; +0x1b, 0x1005eb42b\njmp     short loc_1005EB436                                            ; +0x22, 0x1005eb432\nxor     eax, eax                                                       ; +0x24, 0x1005eb434\nmov     rcx, [rdi]                                                     ; +0x26, 0x1005eb436\nmov     rcx, [rcx+148h]                                                ; +0x29, 0x1005eb439\nmovzx   esi, al                                                        ; +0x30, 0x1005eb440\npop     rbp                                                            ; +0x33, 0x1005eb443\njmp     rcx                                                            ; +0x34, 0x1005eb444", "xrefs": ["GJBaseGameLayer::updateCameraBGArt @ 0x10015bac8", "GJBaseGameLayer::updateCameraBGArt @ 0x10015baff"], "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"}