// // sub_56420 from 0x56420 to 0x5649e (126 bytes) // // 1 xrefs: // > @ 0x5641e // // 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_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