// // sub_B99CB0 from 0xb99cb0 to 0xb99d90 (224 bytes) // // 1 xrefs: // > sub_B71240 @ 0xb712a0 // // 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_B99CB0(__int64 result, __int64 a2, __int64 (__fastcall *a3)(__int64, _QWORD)) { __int64 v3; // x20 __int64 v4; // x25 int v7; // w26 _QWORD *v8; // x24 _QWORD *v9; // x19 _QWORD *v10; // x21 int v11; // w0 _QWORD *v12; // x1 _QWORD *v13; // x1 v3 = result; if ( result ) { result = *(unsigned int *)(result + 32); if ( (int)result > 0 ) { v4 = 0; v7 = 0; do { v8 = *(_QWORD **)(*(_QWORD *)v3 + v4); v9 = (_QWORD *)*v8; if ( *v8 ) { if ( a3 ) { do { v10 = (_QWORD *)v9[2]; v11 = a3(a2, *(_QWORD *)*v9); v12 = v9; v9 = v10; if ( v11 ) { sub_B994E4((__int64)v8, v12, v3); --*(_QWORD *)(v3 + 40); } } while ( v10 ); } else { do { v13 = v9; v9 = (_QWORD *)v9[2]; sub_B994E4((__int64)v8, v13, v3); --*(_QWORD *)(v3 + 40); } while ( v9 ); } result = *(unsigned int *)(v3 + 32); } ++v7; v4 += 8; } while ( v7 < (int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source