// // verifyActiveSaveObjectsMatch from 0xc0fcc8 to 0xc0fe2c (356 bytes) // // 1 xrefs: // > @ 0x99220 // // 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 13:03:56 +0000 // __int64 __fastcall verifyActiveSaveObjectsMatch(__int64 **a1, __int64 *a2, __int64 **a3, __int64 a4) { __int64 *v4; // x5 unsigned int v5; // w4 __int64 *v6; // x6 __int64 *v7; // x0 __int64 v8; // x6 __int64 v9; // x2 _QWORD *v10; // x0 __int64 v11; // x5 __int64 v12; // x3 _DWORD *v14; // x1 _DWORD *v15; // x2 __int64 v16; // x3 __int64 v17; // x5 int v18; // w5 int v19; // w3 int v20; // t1 __int64 *v21; // x2 __int64 v22; // x5 __int64 v23; // x7 __int64 *v24; // x6 int v25; // w7 int v26; // w5 int v27; // w8 v4 = *a1; v5 = 0; v6 = a1[1]; v7 = *a3; v8 = ((char *)v6 - (char *)v4) >> 4; if ( v8 == ((char *)a3[1] - (char *)*a3) >> 4 ) { if ( (int)v8 <= 0 ) { v5 = 1; } else { v21 = v4; v5 = 1; v22 = *v7; v23 = *v21; v24 = &v7[2 * (unsigned int)(v8 - 1) + 2]; if ( !*v21 ) goto LABEL_30; LABEL_20: v25 = *(_DWORD *)(v23 + 916); if ( v22 ) LABEL_21: v26 = *(_DWORD *)(v22 + 916); else v26 = 0; if ( v25 != v26 ) v5 = 0; while ( 1 ) { v27 = *((unsigned __int8 *)v7 + 8); v21 += 2; v7 += 2; if ( *((unsigned __int8 *)v21 - 8) != v27 ) v5 = 0; if ( *((unsigned __int8 *)v21 - 7) != *((unsigned __int8 *)v7 - 7) ) v5 = 0; if ( v7 == v24 ) break; v23 = *v21; v22 = *v7; if ( *v21 ) goto LABEL_20; LABEL_30: v25 = 0; if ( v22 ) goto LABEL_21; } } } v9 = *a2; v10 = *(_QWORD **)a4; v11 = *(_QWORD *)(a4 + 8) - *(_QWORD *)a4; v12 = (a2[1] - *a2) >> 4; if ( v12 == v11 >> 4 ) { if ( (int)v12 > 0 ) { v14 = (_DWORD *)(v9 + 8); v15 = (_DWORD *)(v9 + 16LL * (unsigned int)(v12 - 1) + 24); v16 = *v10; v17 = *((_QWORD *)v14 - 1); if ( !v17 ) goto LABEL_15; LABEL_7: v18 = *(_DWORD *)(v17 + 916); if ( v16 ) LABEL_8: v19 = *(_DWORD *)(v16 + 916); else v19 = 0; if ( v18 != v19 ) v5 = 0; while ( 1 ) { v10 += 2; v20 = *v14; v14 += 4; if ( v20 != *((_DWORD *)v10 - 2) ) v5 = 0; if ( v14 == v15 ) break; v17 = *((_QWORD *)v14 - 1); v16 = *v10; if ( v17 ) goto LABEL_7; LABEL_15: v18 = 0; if ( v16 ) goto LABEL_8; } } } else { return 0; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source