//
// GJRobotSprite::init from 0x4b87bc to 0x4b8810 (84 bytes)
//
// 1 xrefs:
// > GJRobotSprite::create @ 0x4b882e
//
// 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
//
bool GJRobotSprite::init(GJRobotSprite *a1, int a2)
{
GJRobotSprite *v3; // r6
const char *v5; // [sp+8h] [bp-Ch] BYREF
v3 = a1;
a1->m_iconType = Robot;
sub_776584((int)&v5, "Robot");
LOBYTE(v3) = GJRobotSprite::init((int)v3, a2, &v5);
sub_774008(&v5);
return (char)v3;
}