//
// PlayerObject::updateSpecial from 0x1003efd10 to 0x1003efd86 (118 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x10013040c
// > GJBaseGameLayer::update @ 0x100130496
//
// This function is hookable on this platform (idp: pc, 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:29:53 +0000
//
__int64 __fastcall PlayerObject::updateSpecial(__int64 a1, float a2)
{
float v2; // xmm0_4
int v3; // eax
__int64 result; // rax
v2 = a2 + *(float *)(a1 + 2680);
*(float *)(a1 + 2680) = v2;
if ( v2 >= 0.0099999998 )
{
*(float *)(a1 + 2680) = v2 + -0.0099999998;
v3 = *(_DWORD *)(a1 + 2652) + 1;
*(_DWORD *)(a1 + 2652) = v3;
}
else
{
v3 = *(_DWORD *)(a1 + 2652);
}
result = v3 % 200;
*(_DWORD *)(*(_QWORD *)(a1 + 2656) + 4LL * (int)result) = *(_DWORD *)(a1 + 80);
return result;
}