//
// sub_10025DCCC from 0x10025dccc to 0x10025dd30 (100 bytes)
//
// 1 xrefs:
// > GJChestSprite::create @ 0x10025b728
//
// 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 11:01:37 +0000
//
__int64 __fastcall sub_10025DCCC(_DWORD *a1, int a2)
{
__int64 v4; // x19
v4 = cocos2d::CCSprite::init(a1);
if ( (_DWORD)v4 )
{
a1[149] = a2;
(*(void (__fastcall **)(_DWORD *, void *))(*(_QWORD *)a1 + 320LL))(a1, &unk_1009F53B8);
GJChestSprite::switchToState(a1, 2, 0);
}
return v4;
}