//
// verifyDynamicSaveObjectsMatch from 0x717280 to 0x7173ba (314 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:49 +0000
//
int __fastcall verifyDynamicSaveObjectsMatch(int a1, double **a2)
{
double *v2; // r3
double *v3; // r2
int v4; // r4
int v5; // r6
int result; // r0
int v7; // r5
int v8; // r1
double v9; // d2
v2 = *(double **)a1;
v3 = *a2;
v4 = -1431655765 * ((*(_DWORD *)(a1 + 4) - *(_DWORD *)a1) >> 4);
if ( v4 != -1431655765 * (((char *)a2[1] - (char *)*a2) >> 4) )
return 0;
v5 = 0;
result = 1;
while ( v5 < v4 )
{
v7 = *(_DWORD *)v2;
if ( *(_DWORD *)v2 )
v7 = *(_DWORD *)(v7 + 780);
v8 = *(_DWORD *)v3;
if ( *(_DWORD *)v3 )
v8 = *(_DWORD *)(v8 + 780);
v9 = v3[1];
if ( v7 != v8 )
result = 0;
++v5;
v2 += 6;
v3 += 6;
if ( fabs(*(v2 - 5) - v9) > 0.0001 )
result = 0;
if ( fabs(*(v2 - 4) - *(v3 - 4)) > 0.0001 )
result = 0;
if ( fabsf(*((float *)v2 - 6) - *((float *)v3 - 6)) > 0.001 )
result = 0;
if ( fabsf(*((float *)v2 - 5) - *((float *)v3 - 5)) > 0.001 )
result = 0;
if ( fabsf(*((float *)v2 - 4) - *((float *)v3 - 4)) > 0.001 )
result = 0;
if ( fabsf(*((float *)v2 - 3) - *((float *)v3 - 3)) > 0.001 )
result = 0;
if ( fabsf(*((float *)v2 - 2) - *((float *)v3 - 2)) > 0.001 )
result = 0;
if ( fabsf(*((float *)v2 - 1) - *((float *)v3 - 1)) > 0.001 )
result = 0;
}
return result;
}