// // GJBaseGameLayer::processCameraObject from 0x46edec to 0x46ee50 (100 bytes) // // 4 xrefs: // > GJBaseGameLayer::switchToFlyMode @ 0x46ef38 // > GJBaseGameLayer::switchToRobotMode @ 0x46efbc // > GJBaseGameLayer::switchToSpiderMode @ 0x46efec // > GJBaseGameLayer::switchToRollMode @ 0x46f01c // // 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 *GJBaseGameLayer::processCameraObject(GJBaseGameLayer *a1, GameObject *a2, PlayerObject *a3) { GameObject *m_lastActivatedPortal2; // r4 const cocos2d::CCPoint *v6; // r0 int v7; // r2 bool v8; // r3 cocos2d::CCPoint v10; // [sp+4h] [bp-Ch] BYREF LODWORD(v10.x) = a2; LODWORD(v10.y) = a3; m_lastActivatedPortal2 = a2; if ( a2 ) { v6 = a2->getPosition(a2); cocos2d::CCPoint::CCPoint(&v10, v6); cocos2d::CCPoint::operator=((PlayerObject *)&a3->m_lastPortalPos, COERCE_FLOAT(&v10), v7, v8); a3->m_lastActivatedPortal = m_lastActivatedPortal2; } if ( a1->m_gameState.m_isDualMode && a1->m_gameState.m_lastActivatedPortal2 ) { m_lastActivatedPortal2 = a1->m_gameState.m_lastActivatedPortal2; } else if ( !m_lastActivatedPortal2 ) { return m_lastActivatedPortal2; } a1->m_gameState.m_lastActivatedPortal1 = m_lastActivatedPortal2; return m_lastActivatedPortal2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source