//
// PlayLayer::updateVerifyDamage from 0x10011f804 to 0x10011f8b0 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078fd10
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall PlayLayer::updateVerifyDamage(PlayLayer *a1)
{
GameObject *m_anticheatSpike; // x20
unsigned __int32 v3; // s8
__n128 v4; // q1
__n128 v5; // q0
int v6; // [xsp+8h] [xbp-28h] BYREF
m_anticheatSpike = a1->m_anticheatSpike;
if ( m_anticheatSpike && !a1->m_damageVerified )
{
if ( a1->m_isIgnoreDamageEnabled )
a1->m_damageVerified = 1;
v3 = *(_DWORD *)((__int64 (__fastcall *)(PlayerObject *))a1->m_player1->getPosition)(a1->m_player1);
v4.n128_u32[0] = *(_DWORD *)(((__int64 (__fastcall *)(PlayerObject *))a1->m_player1->getPosition)(a1->m_player1) + 4);
v5.n128_u32[0] = v3;
sub_100022980(v5, v4, &v6);
((void (__fastcall *)(GameObject *, int *))m_anticheatSpike->setStartPos)(m_anticheatSpike, &v6);
((void (__fastcall *)(PlayLayer *, GameObject *))a1->updateObjectSection)(a1, a1->m_anticheatSpike);
}
}