// // sub_10001BC84 from 0x10001bc84 to 0x10001bce8 (100 bytes) // // 4 xrefs: // > sub_10001BC04 @ 0x10001bc28 // > sub_10006E558 @ 0x10006e57c // > sub_100140FE8 @ 0x100141014 // > sub_10020BE58 @ 0x10020be7c // // 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_10001BC84(__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 + 7); if ( v6 >= v9 ) break; LABEL_4: v4 = (__int64 *)*v8; result = v8; if ( !*v8 ) goto LABEL_12; } if ( v9 >= v6 ) { v10 = *((_DWORD *)v8 + 8); 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