// // sub_C98D18 from 0xc98d18 to 0xc98df8 (224 bytes) // // 1 xrefs: // > sub_C67FC0 @ 0xc68024 // // 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_C98D18( __int64 result, int a2, __int64 a3, __int64 a4, int a5, __int64 a6, int a7, unsigned int a8, int a9, void (__fastcall *a10)(__int64, __int64, __int64, __int64, __int64)) { __int64 v10; // x24 __int64 v11; // x27 __int64 v12; // x22 __int64 v13; // x28 __int64 v14; // x20 __int64 v16; // x21 int v17; // w19 __int64 v18; // x23 __int64 v19; // x1 __int64 v20; // x2 __int64 v21; // x4 v10 = a2; v11 = a3; v12 = a4; v13 = a5; v14 = a6; if ( a9 > 0 ) { v16 = result + a2; v17 = 0; v18 = a7; a10(result, a3, a4, a6, a8); while ( 1 ) { ++v17; result = v16; v19 = v11; v20 = v12; v21 = a8; v14 += v18; if ( v17 == a9 ) break; while ( 1 ) { v16 += v10; a10(result, v19, v20, v14, v21); if ( (v17 & 1) == 0 ) break; ++v17; v11 += v13; v12 += v13; result = v16; v19 = v11; v20 = v12; v21 = a8; v14 += v18; if ( v17 == a9 ) return result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source