//
// SimplePlayer::createSpiderSprite from 0x8b9d80 to 0x8b9e40 (192 bytes)
//
// 3 xrefs:
// > SimplePlayer::updatePlayerFrame @ 0x8bc884
// > GJGarageLayer::init @ 0x8c2018
// > ??> @ 0x88618
//
// 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:56:26 +0000
//
__int64 __fastcall SimplePlayer::createSpiderSprite(SimplePlayer *this, unsigned int a2)
{
__int64 v4; // x0
__int64 v5; // x2
__int64 v6; // x20
void (__fastcall *v7)(__int64, _BYTE *); // x21
_BYTE v8[8]; // [xsp+40h] [xbp+40h] BYREF
if ( !*((_QWORD *)this + 81) )
{
v4 = GJSpiderSprite::create((GJSpiderSprite *)a2, a2);
v5 = *(_QWORD *)this;
*((_QWORD *)this + 81) = v4;
(*(void (__fastcall **)(SimplePlayer *))(v5 + 456))(this);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 81) + 344LL))(*((_QWORD *)this + 81), 0);
v6 = *((_QWORD *)this + 81);
v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 0.0, -1.5);
v7(v6, v8);
}
return _stack_chk_guard;
}