//
// SimplePlayer::createRobotSprite from 0x10039ff78 to 0x10039ffd0 (88 bytes)
//
// 2 xrefs:
// > GJGarageLayer::init @ 0x10039eff0
// > SimplePlayer::updatePlayerFrame @ 0x1003a03b0
//
// 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:03:46 +0000
//
__int64 __fastcall SimplePlayer::createRobotSprite(__int64 result, __int64 a2)
{
_QWORD *v2; // x19
char *v3; // x0
if ( !*(_QWORD *)(result + 640) )
{
v2 = (_QWORD *)result;
v3 = GJRobotSprite::create(a2);
v2[80] = v3;
(*(void (__fastcall **)(_QWORD *, char *))(*v2 + 456LL))(v2, v3);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v2[80] + 344LL))(v2[80], 0);
}
return result;
}