// // sub_C19AA from 0xc19aa to 0xc1a0e (100 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_C19AA( int a1, int a2, unsigned int a3, unsigned int a4, _DWORD *a5, _DWORD *a6, unsigned int *a7, unsigned int *a8) { _DWORD *v8; // r1 unsigned int v9; // r6 unsigned int v10; // r0 v8 = *(_DWORD **)(a2 + 40); v9 = v8[3] * v8[2]; if ( v9 < a4 ) a4 = v8[3] * v8[2]; if ( v9 <= a3 ) { *a6 = 0; *a5 = 0; *a8 = 0; *a7 = 0; return 31; } else { *a5 = v8[4] + a3; if ( a4 + a3 <= v9 ) { v10 = 0; *a7 = a4; *a6 = 0; } else { *a7 = v9 - a3; v10 = a4 - (v9 - a3); *a6 = v8[4]; } *a8 = v10; return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source