//
// GJBaseGameLayer::processCameraObject from 0x100123400 to 0x100123482 (130 bytes)
//
// 0 xrefs:
//
// 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
//
GameObject *__fastcall GJBaseGameLayer::processCameraObject(GJBaseGameLayer *a1, GameObject *a2, PlayerObject *a3)
{
GameObject *m_lastActivatedPortal2; // rbx
_BYTE v6[40]; // [rsp+8h] [rbp-28h] BYREF
m_lastActivatedPortal2 = a2;
if ( a2 )
{
((void (__fastcall *)(GameObject *))a2->getPosition)(a2);
sub_10028CC60(v6);
sub_10028CC90();
a3->m_lastActivatedPortal = a2;
}
if ( a1->m_gameState.m_isDualMode && a1->m_gameState.m_lastActivatedPortal2 )
m_lastActivatedPortal2 = a1->m_gameState.m_lastActivatedPortal2;
if ( m_lastActivatedPortal2 )
a1->m_gameState.m_lastActivatedPortal1 = m_lastActivatedPortal2;
return m_lastActivatedPortal2;
}