{"type": "func", "start": 4297691024, "end": 4297691096, "name": "GJBaseGameLayer::togglePlayerVisibility", "pseudocode": "// \n// GJBaseGameLayer::togglePlayerVisibility from 0x100298f90 to 0x100298fd8 (72 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x100404744\n// > EffectGameObject::triggerObject @ 0x10042c4a4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:07 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::togglePlayerVisibility(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  result = PlayerObject::toggleVisibility(*(_QWORD *)(a1 + 3256), a2);\n  if ( *(_BYTE *)(a1 + 1010) == 1 )\n    return PlayerObject::toggleVisibility(*(_QWORD *)(a1 + 3264), a2);\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::togglePlayerVisibility from 0x100298f90 to 0x100298fd8 (72 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x100404744\n; > EffectGameObject::triggerObject @ 0x10042c4a4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:07 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100298f90\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100298f94\nADD             X29, SP, #0x10                                         ; +0x8, 0x100298f98\nMOV             X19, X1                                                ; +0xc, 0x100298f9c\nMOV             X20, X0                                                ; +0x10, 0x100298fa0\nLDR             X0, [X0,#0xCB8]                                        ; +0x14, 0x100298fa4\nBL              PlayerObject__toggleVisibility                         ; +0x18, 0x100298fa8\nLDRB            W8, [X20,#0x3F2]                                       ; +0x1c, 0x100298fac\nCMP             W8, #1                                                 ; +0x20, 0x100298fb0\nB.NE            loc_100298FCC                                          ; +0x24, 0x100298fb4\nLDR             X0, [X20,#0xCC0]                                       ; +0x28, 0x100298fb8\nMOV             X1, X19                                                ; +0x2c, 0x100298fbc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x100298fc0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x100298fc4\nB               PlayerObject__toggleVisibility                         ; +0x38, 0x100298fc8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x100298fcc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100298fd0\nRET                                                                    ; +0x44, 0x100298fd4", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x100404744", "EffectGameObject::triggerObject @ 0x10042c4a4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}