// // sub_D16F64 from 0xd16f64 to 0xd16fb0 (76 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 // __int64 __fastcall sub_D16F64(__int64 *a1, unsigned __int8 a2, unsigned __int64 a3) { __int64 v3; // x4 __int64 result; // x0 __int64 v5; // x3 unsigned __int64 v6; // x3 v3 = *a1; result = -1; v5 = *(_QWORD *)(v3 - 24); if ( v5 ) { v6 = v5 - 1; if ( a3 > v6 ) result = v6; else result = a3; while ( *(unsigned __int8 *)(v3 + result) == a2 ) { if ( !result ) return -1; --result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source