{"type": "func", "start": 4296337984, "end": 4296338042, "name": "GJBaseGameLayer::togglePlayerVisibility_1", "pseudocode": "// \n// GJBaseGameLayer::togglePlayerVisibility_1 from 0x10014ea40 to 0x10014ea7a (58 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x1000f22fd\n// > EffectGameObject::triggerObject @ 0x1001ba187\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 GJBaseGameLayer::togglePlayerVisibility_1(GJBaseGameLayer *a1, bool a2)\n{\n  PlayerObject::toggleVisibility(a1->m_player1, a2);\n  if ( a1->m_gameState.m_isDualMode )\n    PlayerObject::toggleVisibility(a1->m_player2, a2);\n}", "assembly": "; \n; GJBaseGameLayer::togglePlayerVisibility_1 from 0x10014ea40 to 0x10014ea7a (58 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x1000f22fd\n; > EffectGameObject::triggerObject @ 0x1001ba187\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, 0x10014ea40\nmov     rbp, rsp                                                       ; +0x1, 0x10014ea41\npush    r14                                                            ; +0x4, 0x10014ea44\npush    rbx                                                            ; +0x6, 0x10014ea46\nmov     ebx, esi                                                       ; +0x7, 0x10014ea47\nmov     r14, rdi                                                       ; +0x9, 0x10014ea49\nmov     rdi, [rdi+0CA0h]                                               ; +0xc, 0x10014ea4c\ncall    PlayerObject__toggleVisibility                                 ; +0x13, 0x10014ea53\ncmp     byte ptr [r14+3F2h], 1                                         ; +0x18, 0x10014ea58\njnz     short loc_10014EA75                                            ; +0x20, 0x10014ea60\nmov     rdi, [r14+0CA8h]                                               ; +0x22, 0x10014ea62\nmovzx   esi, bl                                                        ; +0x29, 0x10014ea69\npop     rbx                                                            ; +0x2c, 0x10014ea6c\npop     r14                                                            ; +0x2d, 0x10014ea6d\npop     rbp                                                            ; +0x2f, 0x10014ea6f\njmp     PlayerObject__toggleVisibility                                 ; +0x30, 0x10014ea70\npop     rbx                                                            ; +0x35, 0x10014ea75\npop     r14                                                            ; +0x36, 0x10014ea76\npop     rbp                                                            ; +0x38, 0x10014ea78\nretn                                                                   ; +0x39, 0x10014ea79", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x1000f22fd", "EffectGameObject::triggerObject @ 0x1001ba187"], "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"}