// // sub_569A4 from 0x569a4 to 0x56a74 (208 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_569A4(int a1, _DWORD *a2, unsigned int a3, unsigned int *a4, unsigned int a5) { int result; // r0 unsigned int v8; // r0 result = 19; if ( a3 <= 4 && ((1 << a3) & 0x16) != 0 ) { result = 19; if ( a5 <= 4 && ((1 << a5) & 0x16) != 0 ) { if ( a2 ) { switch ( a3 ) { case 1u: *a2 = (unsigned int)(float)((float)((float)*(unsigned int *)(a1 + 52) * 1000.0) / *(float *)(a1 + 80)); break; case 4u: sub_4C6EA(*(_DWORD *)(a1 + 52), a2, *(_DWORD *)(a1 + 76), *(_DWORD *)(a1 + 24)); break; case 2u: *a2 = *(_DWORD *)(a1 + 52); break; } } if ( a4 ) { v8 = *(_DWORD *)(a1 + 52) + *(_DWORD *)(a1 + 56) - 1; switch ( a5 ) { case 1u: *a4 = (unsigned int)(float)((float)((float)v8 * 1000.0) / *(float *)(a1 + 80)); break; case 4u: sub_4C6EA(v8, a4, *(_DWORD *)(a1 + 76), *(_DWORD *)(a1 + 24)); break; case 2u: *a4 = v8; break; } } return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source