{"type": "func", "start": 4297051848, "end": 4297051920, "name": "GJBaseGameLayer::togglePlayerVisibility", "pseudocode": "// \n// GJBaseGameLayer::togglePlayerVisibility from 0x1001fcec8 to 0x1001fcf10 (72 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x100362bac\n// > EffectGameObject::triggerObject @ 0x100385dfc\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(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 from 0x1001fcec8 to 0x1001fcf10 (72 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x100362bac\n; > EffectGameObject::triggerObject @ 0x100385dfc\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001fcec8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001fcecc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001fced0\nMOV             X19, X1                                                ; +0xc, 0x1001fced4\nMOV             X20, X0                                                ; +0x10, 0x1001fced8\nLDR             X0, [X0,#0xCC8]                                        ; +0x14, 0x1001fcedc\nBL              PlayerObject__toggleVisibility                         ; +0x18, 0x1001fcee0\nLDRB            W8, [X20,#0x3F2]                                       ; +0x1c, 0x1001fcee4\nCMP             W8, #1                                                 ; +0x20, 0x1001fcee8\nB.NE            loc_1001FCF04                                          ; +0x24, 0x1001fceec\nLDR             X0, [X20,#0xCD0]                                       ; +0x28, 0x1001fcef0\nMOV             X1, X19                                                ; +0x2c, 0x1001fcef4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1001fcef8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1001fcefc\nB               PlayerObject__toggleVisibility                         ; +0x38, 0x1001fcf00\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1001fcf04\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1001fcf08\nRET                                                                    ; +0x44, 0x1001fcf0c", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x100362bac", "EffectGameObject::triggerObject @ 0x100385dfc"], "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"}