// // verifyActiveSaveObjectsMatch from 0x7173d0 to 0x71747a (170 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 verifyActiveSaveObjectsMatch(int **a1, int *a2, int **a3, int *a4) { int *v4; // r4 int v5; // lr int *v6; // r2 int v7; // r7 int result; // r0 int v9; // r6 int v10; // r5 int v11; // r6 int v12; // r5 int v13; // r5 int v14; // r6 int v15; // r4 int i; // r3 int v17; // r1 int v18; // r2 int v19; // r1 int v20; // r2 v4 = *a3; v5 = ((char *)a1[1] - (char *)*a1) >> 3; if ( v5 == ((char *)a3[1] - (char *)*a3) >> 3 ) { v6 = *a1; v7 = 0; result = 1; while ( v7 < v5 ) { v9 = *v6; if ( *v6 ) v9 = *(_DWORD *)(v9 + 780); v10 = *v4; if ( *v4 ) v10 = *(_DWORD *)(v10 + 780); if ( v9 != v10 ) result = 0; v11 = *((unsigned __int8 *)v6 + 4); v12 = *((unsigned __int8 *)v4 + 4); ++v7; v6 += 2; v4 += 2; if ( v11 != v12 ) result = 0; if ( *((unsigned __int8 *)v6 - 3) != *((unsigned __int8 *)v4 - 3) ) result = 0; } } else { result = 0; } v13 = *a2; v14 = *a4; v15 = (a2[1] - *a2) >> 3; if ( v15 != (a4[1] - *a4) >> 3 ) return 0; for ( i = 0; i < v15; ++i ) { v17 = *(_DWORD *)(v13 + 8 * i); if ( v17 ) v17 = *(_DWORD *)(v17 + 780); v18 = *(_DWORD *)(v14 + 8 * i); if ( v18 ) v18 = *(_DWORD *)(v18 + 780); if ( v17 != v18 ) result = 0; v19 = v13 + 8 * i; v20 = 8 * i + v14; if ( *(_DWORD *)(v19 + 4) != *(_DWORD *)(v20 + 4) ) result = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source