//
// GJBaseGameLayer::enterDualMode from 0x100285cac to 0x100285d18 (108 bytes)
//
// 1 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10014a498
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:01:57 +0000
//
void __fastcall GJBaseGameLayer::enterDualMode(__int64 a1, __int64 a2)
{
__int64 v4; // x21
double *v5; // x0
__int64 v6; // [xsp+8h] [xbp-28h] BYREF
if ( a2 )
{
v4 = *(_QWORD *)(a1 + 3256);
v5 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
sub_1000262F4(&v6, v5);
sub_10002630C((_QWORD *)(v4 + 2488), (double *)&v6);
*(_QWORD *)(*(_QWORD *)(a1 + 3256) + 2592LL) = a2;
*(_QWORD *)(a1 + 976) = a2;
}
}