// // sub_57AD0 from 0x57ad0 to 0x57b46 (118 bytes) // // 1 xrefs: // > sub_6888C @ 0x688be // // 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:40:46 +0000 // int __fastcall sub_57AD0(int a1, int *a2, _DWORD *a3) { int v4; // r4 int v5; // r5 unsigned int v6; // r2 unsigned int v7; // r0 _DWORD *v8; // r0 _DWORD *v9; // r4 int v10; // r5 int v11; // r6 v4 = *a2; v5 = *(unsigned __int16 *)(a1 + 72008); v6 = *(_DWORD *)(a1 + 1192); v7 = *(_DWORD *)(a1 + 1196); *(_BYTE *)(*a2 + 80 * v5) = 1; v8 = (_DWORD *)(v4 + 80 * (unsigned __int16)((int)(v7 / v6 + v5 - 1) % (int)(v7 / v6))); v9 = (_DWORD *)(v4 + 80 * v5); v9[1] = v8[1]; v9[2] = v8[2]; v9[3] = v8[3]; v10 = v8[17]; v11 = v8[18]; v9[16] = v8[16]; v9[17] = v10; v9[18] = v11; qmemcpy(v9 + 4, v8 + 4, 0x30u); *a3 = v9; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source