// // sub_82752 from 0x82752 to 0x8285c (266 bytes) // // 1 xrefs: // > sub_826CC @ 0x826cc // // 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:18 +0000 // int __fastcall sub_82752(int a1, _BYTE *a2, unsigned int a3, unsigned int *a4) { int v4; // r4 _BYTE *v7; // r6 int v8; // r3 int v9; // r9 unsigned int v10; // r0 char v11; // r2 char v12; // r3 char v13; // r4 int result; // r0 int v15; // r1 unsigned int v16; // r0 unsigned int v17; // [sp+8h] [bp-20h] BYREF unsigned int v18; // [sp+Ch] [bp-1Ch] BYREF v4 = *(_DWORD *)(a1 + 4); v7 = a2; v8 = *(_DWORD *)(v4 + 4); if ( (unsigned int)(v8 - 1) > 1 || *(unsigned __int8 *)(a1 + 25) << 31 ) { sub_4C6EA(a3, &v18, *(_DWORD *)(v4 + 8), v8); v9 = sub_BB750(*(_DWORD *)(a1 + 220), v7, 1, v18, &v17); sub_4C6A4(v17, a4, *(_DWORD *)(*(_DWORD *)(a1 + 4) + 8), *(_DWORD *)(*(_DWORD *)(a1 + 4) + 4)); return v9; } if ( v8 != 2 ) { sub_71348(a3, &v17, v4); v9 = sub_BB750(*(_DWORD *)(a1 + 220), v7, 1, v17, &v18); v10 = v18 >> 2; while ( v10 ) { --v10; v11 = v7[1]; v12 = v7[2]; v13 = v7[3]; *v7 ^= 0x80u; v7[1] = v11 ^ 0x80; v7[2] = v12 ^ 0x80; v7[3] = v13 ^ 0x80; v7 += 4; } v15 = 0; v16 = v18 & 3; while ( v16 != v15 ) v7[v15++] ^= 0x80u; sub_81798(v18, a4, *(_DWORD *)(a1 + 4)); return v9; } if ( !*(_DWORD *)(a1 + 20) ) return 0; result = sub_BB750(*(_DWORD *)(a1 + 220), a2, 2, *(_DWORD *)(v4 + 8) * a3, a4); *a4 /= *(_DWORD *)(*(_DWORD *)(a1 + 4) + 8); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source