// // sub_56420 from 0x56420 to 0x5649e (126 bytes) // // 1 xrefs: // > @ 0x5641e // // 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_56420(int a1, int a2, int a3, int a4, _DWORD *a5, int a6) { void *v9; // r1 if ( !a2 || !a3 && !a5 ) return 31; if ( a3 ) { v9 = *(void **)(a2 + 16); if ( !v9 ) v9 = &unk_2191F; sub_BE220(a3, v9, a4); } if ( a5 ) { switch ( a6 ) { case 1: *a5 = (unsigned int)(float)((float)((float)*(unsigned int *)(a2 + 24) * 1000.0) / *(float *)(a1 + 80)); break; case 4: sub_4C6EA(*(_DWORD *)(a2 + 24), a5, *(_DWORD *)(a1 + 76), *(_DWORD *)(a1 + 24)); break; case 2: *a5 = *(_DWORD *)(a2 + 24); break; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source