//
// SimplePlayer::createRobotSprite from 0x100354160 to 0x1003541ac (76 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:28:51 +0000
//
__int64 __fastcall SimplePlayer::createRobotSprite(_QWORD *a1, unsigned int a2)
{
__int64 v3; // rax
__int64 result; // rax
if ( !a1[80] )
{
v3 = GJRobotSprite::create(a2);
a1[80] = v3;
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 456LL))(a1, v3);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)a1[80] + 344LL))(a1[80], 0);
}
return result;
}