// // sub_AF334 from 0xaf334 to 0xaf33c (8 bytes) // // 1 xrefs: // > @ 0x118e88 // // 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_AF334(__int64 *a1, int a2, unsigned int a3) { float v3; // s0 unsigned int v4; // w8 unsigned int v5; // w9 bool v6; // cf unsigned int v7; // w9 __int64 v9; // x0 v9 = *a1; v3 = *(float *)(v9 + 636); if ( v3 >= 0.0 ) { if ( a2 ) { v5 = *(_DWORD *)(v9 + 632); if ( !v5 ) return 11; } else { v5 = (unsigned int)(float)(v3 * (float)*(int *)(*(_QWORD *)(v9 + 168) + 1744LL)); *(_DWORD *)(v9 + 632) = v5; } v6 = v5 >= a3; v7 = v5 - a3; if ( !v6 ) v7 = 0; v4 = 0; *(_DWORD *)(v9 + 632) = v7; } else { return 0; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source