//
// GJRobotSprite::init from 0xa3d464 to 0xa3d518 (180 bytes)
//
// 2 xrefs:
// > GJRobotSprite::create @ 0xa3d5d4
// > ??> @ 0x81310
//
// 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 12:59:54 +0000
//
__int64 __fastcall GJRobotSprite::init(GJRobotSprite *this, signed int a2)
{
unsigned int v2; // w20
_BYTE v4[6]; // [xsp+20h] [xbp+20h] BYREF
__int16 v5; // [xsp+26h] [xbp+26h]
__int64 v6; // [xsp+28h] [xbp+28h]
void *v7; // [xsp+30h] [xbp+30h]
v5 = 0;
v6 = 0;
*((_DWORD *)this + 190) = 5;
v7 = nullptr;
qmemcpy(v4, "\nRobot", sizeof(v4));
v2 = GJRobotSprite::init((__int64)this, a2, (__int64)v4);
if ( (v4[0] & 1) != 0 )
operator delete(v7);
return v2;
}