//
// PlayLayer::updateVerifyDamage from 0x5c867c to 0x5c8768 (236 bytes)
//
// 2 xrefs:
// > ??> @ 0x30ac8
// > ??> @ 0x11489a8
//
// 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 PlayLayer::updateVerifyDamage(PlayLayer *a1)
{
GameObject *m_anticheatSpike; // x21
void (__fastcall *setStartPos)(GameObject *__hidden, cocos2d::CCPoint); // x23
const cocos2d::CCPoint *v4; // x0
float x; // [xsp+40h] [xbp+40h]
cocos2d::CCPoint v6; // [xsp+60h] [xbp+60h] BYREF
m_anticheatSpike = a1->m_anticheatSpike;
if ( m_anticheatSpike && !a1->m_damageVerified )
{
if ( a1->m_isIgnoreDamageEnabled )
a1->m_damageVerified = 1;
setStartPos = m_anticheatSpike->setStartPos;
x = a1->m_player1->getPosition(a1->m_player1)->x;
v4 = a1->m_player1->getPosition(a1->m_player1);
cocos2d::CCPoint::CCPoint(&v6, x, v4->y);
((void (__fastcall *)(GameObject *, cocos2d::CCPoint *))setStartPos)(m_anticheatSpike, &v6);
a1->updateObjectSection(a1, a1->m_anticheatSpike);
}
}