//
// GJSpiderSprite::init from 0xa3d630 to 0xa3d6e4 (180 bytes)
//
// 2 xrefs:
// > GJSpiderSprite::create @ 0xa3d7a0
// > ??> @ 0xa85b0
//
// 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:55 +0000
//
__int64 __fastcall GJSpiderSprite::init(GJSpiderSprite *this, signed int a2)
{
unsigned int v2; // w20
char v4; // [xsp+20h] [xbp+20h] BYREF
char v5[7]; // [xsp+21h] [xbp+21h] BYREF
__int64 v6; // [xsp+28h] [xbp+28h]
void *v7; // [xsp+30h] [xbp+30h]
v6 = 0;
v7 = nullptr;
*((_DWORD *)this + 190) = 6;
strcpy(v5, "Spider");
v4 = 12;
v2 = GJRobotSprite::init((__int64)this, a2, (__int64)&v4);
if ( (v4 & 1) != 0 )
operator delete(v7);
return v2;
}