// // sub_C6A10 from 0xc6a10 to 0xc6afe (238 bytes) // // 2 xrefs: // > sub_7135C @ 0x71368 // > sub_C69C8 @ 0xc69ce // // 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:41:52 +0000 // int __fastcall sub_C6A10(_DWORD *a1) { _BOOL4 v2; // r5 int *v3; // r1 void *v4; // r0 int i; // r5 _DWORD *v6; // r6 int v7; // r0 void *v8; // r0 FILE *v9; // r0 if ( *(_DWORD *)*a1 == 9 ) return 1; sub_C5E68((void *)(a1[1] + 3724), a1[1] + 3628); v3 = (int *)a1[1]; if ( v3[63] ) { v4 = (void *)v3[113]; if ( v4 ) { free(v4); *(_DWORD *)(a1[1] + 452) = 0; v3 = (int *)a1[1]; v3[63] = 0; } } sub_C44DC(v3[15]); for ( i = 896; ; ++i ) { v6 = (_DWORD *)a1[1]; if ( i == 904 ) break; v7 = v6[i - 880]; if ( v7 ) { free((void *)(v7 - 16)); *(_DWORD *)(a1[1] + i * 4 - 3520) = 0; v6 = (_DWORD *)a1[1]; } v8 = (void *)v6[i]; if ( v8 ) { free(v8); *(_DWORD *)(a1[1] + i * 4 - 3488) = 0; *(_DWORD *)(a1[1] + i * 4) = 0; } } v6[56] = 0; v6[57] = 0; v9 = (FILE *)v6[14]; if ( v9 ) { if ( v9 != (FILE *)&_sF ) { fclose(v9); v6 = (_DWORD *)a1[1]; } v6[14] = 0; } if ( v6[904] ) v2 = memcmp(v6 + 78, v6 + 931, 0x10u) == 0; else v2 = 1; v6[906] = 0; sub_C698C(a1); *(_DWORD *)*a1 = 9; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source