//
// PlayLayer::updateVerifyDamage from 0x100148b88 to 0x100148c34 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008df8a8
//
// 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 10:59:35 +0000
//
__int64 __fastcall PlayLayer::updateVerifyDamage(__int64 result)
{
__int64 v1; // x20
__int64 v2; // x19
float v3; // s8
__int64 v4; // x0
float v5; // [xsp+8h] [xbp-28h] BYREF
v1 = *(_QWORD *)(result + 13928);
if ( v1 )
{
v2 = result;
if ( (*(_BYTE *)(result + 14024) & 1) == 0 )
{
if ( *(_BYTE *)(result + 14185) == 1 )
*(_BYTE *)(result + 14024) = 1;
v3 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + 3256) + 192LL))(*(_QWORD *)(result + 3256));
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 3256) + 192LL))(*(_QWORD *)(v2 + 3256));
sub_1000262BC(&v5, v3, *(float *)(v4 + 4));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v1 + 1368LL))(v1, &v5);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1368LL))(v2, *(_QWORD *)(v2 + 13928));
}
}
return result;
}