//
// cocos2d::CCSpawn::update from 0x10021dfcc to 0x10021e030 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbb58
//
// 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:06 +0000
//
__int64 __fastcall cocos2d::CCSpawn::update(__int64 a1, __n128 a2)
{
float v2; // s8
__int64 v4; // x0
__int64 result; // x0
v2 = a2.n128_f32[0];
v4 = *(_QWORD *)(a1 + 96);
if ( v4 )
(*(void (__fastcall **)(__int64, __n128))(*(_QWORD *)v4 + 40LL))(v4, a2);
result = *(_QWORD *)(a1 + 104);
if ( result )
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)result + 40LL))(result, v2);
return result;
}