//
// sub_10023B950 from 0x10023b950 to 0x10023b9e8 (152 bytes)
//
// 1 xrefs:
// > sub_10023E558 @ 0x10023e698
//
// 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:21 +0000
//
__int64 __fastcall sub_10023B950(__int64 *a1, __int64 *a2)
{
__int64 v2; // x21
__int64 v3; // x20
int v4; // w19
int v5; // w8
float v6; // s8
__int64 v8; // [xsp+8h] [xbp-38h] BYREF
v2 = *a1;
v3 = *a2;
v4 = *(_DWORD *)(*a1 + 1772);
v5 = *(_DWORD *)(*a2 + 1772);
if ( v4 == v5 )
{
sub_1000262F4(&v8, (double *)(v2 + 1784));
v6 = (float)v4;
v4 = (int)(float)((float)v4 - *(float *)&v8);
sub_1000262F4(&v8, (double *)(v3 + 1784));
v5 = (int)(float)(v6 - *(float *)&v8);
if ( v4 == v5 )
{
v5 = *(_DWORD *)(v3 + 916) + v4;
v4 += *(_DWORD *)(v2 + 916);
}
}
return (unsigned int)(v4 - v5);
}