//
// GJBaseGameLayer::enterDualMode from 0x100129d30 to 0x100129d9e (110 bytes)
//
// 1 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x1000bd5ce
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::enterDualMode(GJBaseGameLayer *a1, GameObject *a2, bool a3)
{
__int64 v3; // [rsp-30h] [rbp-30h] BYREF
if ( a2 )
{
((void (__fastcall *)(GameObject *, GameObject *, bool))a2->getPosition)(a2, a2, a3);
sub_10028CC60(&v3);
sub_10028CC90();
a1->m_player1->m_lastActivatedPortal = a2;
a1->m_gameState.m_lastActivatedPortal1 = a2;
}
}