// // sub_1004C50AC from 0x1004c50ac to 0x1004c5114 (104 bytes) // // 4 xrefs: // > @ 0x100828610 // > @ 0x1008287b8 // > @ 0x100828960 // > @ 0x100828af0 // // 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 // __int64 __fastcall sub_1004C50AC(__int64 a1, float *a2, unsigned int a3) { float *v3; // x8 float v4; // s0 __int64 v5; // x9 float v6; // s2 if ( (a3 & 0x80000000) == 0 ) { if ( !a2 || a3 < 2 ) { LABEL_12: *(_QWORD *)(a1 + 144) = a2; *(_DWORD *)(a1 + 152) = a3; return 0; } v3 = a2 + 4; v4 = *a2; v5 = a3 - 1LL; while ( 1 ) { v6 = v4; v4 = *(v3 - 1); if ( v4 <= v6 ) break; if ( *v3 < 0.0 || *v3 > 1.0 ) break; v3 += 3; if ( !--v5 ) goto LABEL_12; } } return 31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source