//
// GJBaseGameLayer::switchToRobotMode from 0x58ee66 to 0x58ee96 (48 bytes)
//
// 4 xrefs:
// > PlayerObject::loadFromCheckpoint @ 0x44b236
// > GJBaseGameLayer::setupLevelStart @ 0x5b9f80
// > GJBaseGameLayer::setupLevelStart @ 0x5b9f94
// > GJBaseGameLayer::collisionCheckObjects @ 0x5ba6b2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:04 +0000
//
char *__fastcall GJBaseGameLayer::switchToRobotMode(GJBaseGameLayer *this, PlayerObject *a2, GameObject *a3, bool a4)
{
int v7; // r3
GameObject *v8; // r0
int v9; // r2
PlayerObject::switchedToMode((char *)a2, 27);
v8 = GJBaseGameLayer::processCameraObject(this, a3, a2, v7);
if ( v8 )
v9 = *((unsigned __int8 *)v8 + 908);
else
v9 = 0;
return PlayerObject::toggleRobotMode((char *)a2, 1, v9);
}