//
// GJRobotSprite::init_1 from 0x10023f34c to 0x10023f3b4 (104 bytes)
//
// 1 xrefs:
// > GJRobotSprite::create @ 0x10023f300
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall GJRobotSprite::init_1(GJRobotSprite *a1, int a2)
{
__int64 v2; // x19
char v4; // w19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)&a2;
a1->m_iconType = Robot;
sub_100009900(__p, "Robot");
v4 = GJRobotSprite::init(a1, v2, __p);
if ( v7 < 0 )
operator delete(__p[0]);
return v4;
}