// // sub_B876D0 from 0xb876d0 to 0xb877b8 (232 bytes) // // 2 xrefs: // > sub_B87DB4 @ 0xb8a578 // > sub_B99F50 @ 0xb9a168 // // 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_B876D0(__int64 a1) { __int64 v1; // x19 __time_t v2; // x22 __int64 v3; // x1 __int64 v4; // x23 __int64 result; // x0 __int64 v6; // x24 __int64 v7; // x21 _QWORD *i; // x19 __int64 v9; // x20 __int64 v10; // x0 _BYTE v11[24]; // [xsp+58h] [xbp+58h] BYREF v1 = *(_QWORD *)(a1 + 2768); v2 = sub_B70B94(); v4 = v3; sub_B99E04(v1, v11); result = sub_B99E14(v11); if ( result ) { v6 = 0; v7 = -1; do { for ( i = **(_QWORD ***)(*(_QWORD *)result + 16LL); i; v7 = v10 ) { while ( 1 ) { v9 = *i; if ( !*(_BYTE *)(*i + 72LL) ) { v10 = sub_B70BFC(v2, v4, *(_QWORD *)(v9 + 576), *(_QWORD *)(v9 + 584)); if ( v10 > v7 ) break; } i = (_QWORD *)i[2]; if ( !i ) goto LABEL_9; } i = (_QWORD *)i[2]; v6 = v9; } LABEL_9: result = sub_B99E14(v11); } while ( result ); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source