//
// GJBaseGameLayer::enterDualMode from 0x99e920 to 0x99e9b8 (152 bytes)
//
// 2 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x70faf4
// > ??> @ 0x6b0b0
//
// 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 12:58:06 +0000
//
__int64 __fastcall GJBaseGameLayer::enterDualMode(GJBaseGameLayer *this, GameObject *a2)
{
__int64 v4; // x23
const cocos2d::CCPoint *v5; // x0
_BYTE v7[8]; // [xsp+40h] [xbp+40h] BYREF
if ( a2 )
{
v4 = *((_QWORD *)this + 407);
v5 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)a2 + 192LL))(a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v5);
cocos2d::CCPoint::operator=(v4 + 2488, v7);
*(_QWORD *)(*((_QWORD *)this + 407) + 2592LL) = a2;
*((_QWORD *)this + 122) = a2;
}
return _stack_chk_guard;
}