// // sub_B0810 from 0xb0810 to 0xb0948 (312 bytes) // // 3 xrefs: // > sub_56414 @ 0x56444 // > sub_B06E8 @ 0xb0740 // > sub_B09A8 @ 0xb0a70 // // 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_B0810(__int64 a1, unsigned __int64 a2, unsigned __int64 a3, char a4) { unsigned int v7; // w20 __int64 *v8; // x25 char v9; // w8 unsigned __int64 v10; // x9 __int64 *v11; // x22 __int64 v13; // x8 __int64 v14; // x9 __int16 v15; // w8 _BYTE v17[16]; // [xsp+0h] [xbp-50h] BYREF sub_62CEC((__int64)v17, *(_QWORD *)(a1 + 168), 5, a4 & 1); if ( a2 <= a3 ) { v8 = *(__int64 **)(a1 + 576); v9 = 0; while ( (__int64 *)(a1 + 576) != v8 ) { v10 = v8[3]; v11 = v8; v8 = (__int64 *)*v8; if ( v10 >= a2 && v10 <= a3 ) { sub_B06C8(v11); v13 = *(_QWORD *)(a1 + 168) + 67600LL; v14 = *(_QWORD *)(*(_QWORD *)(a1 + 168) + 67608LL); *v11 = v13; v11[1] = v14; *(_QWORD *)(v13 + 8) = v11; *(_QWORD *)v11[1] = v11; v9 = 1; } } if ( (v9 & 1) != 0 ) *(_DWORD *)(a1 + 672) = 1; if ( !a2 && a3 == -1048576 && *(_QWORD *)(a1 + 544) ) { v15 = atomic_load((unsigned int *)(a1 + 100)); if ( (v15 & 0x100) != 0 ) sub_AC760(*(_QWORD *)(a1 + 544)); else *(_BYTE *)(a1 + 688) = 1; *(_DWORD *)(a1 + 680) = 1065353216; } else if ( (v9 & 1) != 0 ) { sub_B02AC(a1); } v7 = 0; *(_DWORD *)(a1 + 684) = 0; } else { v7 = 31; } sub_51F94((__int64)v17); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source