// // sub_10001A1CC from 0x10001a1cc to 0x10001a230 (100 bytes) // // 3 xrefs: // > sub_10001A144 @ 0x10001a168 // > sub_1001F92D0 @ 0x1001f92e4 // > sub_100212780 @ 0x1002127ac // // 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_10001A1CC(__int64 a1, _QWORD *a2, int *a3) { __int64 *result; // x0 __int64 *v4; // x11 __int64 *v5; // t1 int v6; // w9 int v7; // w10 __int64 *v8; // x8 int v9; // w11 int v10; // w11 v5 = *(__int64 **)(a1 + 8); result = (__int64 *)(a1 + 8); v4 = v5; if ( v5 ) { v6 = *a3; v7 = a3[1]; while ( 1 ) { while ( 1 ) { v8 = v4; v9 = *((_DWORD *)v4 + 8); if ( v6 >= v9 ) break; LABEL_4: v4 = (__int64 *)*v8; result = v8; if ( !*v8 ) goto LABEL_12; } if ( v9 >= v6 ) { v10 = *((_DWORD *)v8 + 9); if ( v7 < v10 ) goto LABEL_4; if ( v10 >= v7 ) goto LABEL_12; } result = v8 + 1; v4 = (__int64 *)v8[1]; if ( !v4 ) goto LABEL_12; } } v8 = result; LABEL_12: *a2 = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source