// // sub_D1A860 from 0xd1a860 to 0xd1a8a4 (68 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_D1A860(__int64 *a1, int 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 ( result != -1 && *(_DWORD *)(v3 + 4 * result) != a2 ) --result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source