// // sub_180069530 from 0x180069530 to 0x1800696af (383 bytes) // // 6 xrefs: // > sub_18000F6B0 @ 0x18000f6f2 // > sub_180068770 @ 0x18006880c // > sub_180069780 @ 0x1800698d2 // > @ 0x18018307c // > @ 0x18018308c // > @ 0x1801f9534 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:53:27 +0000 // __int64 __fastcall sub_180069530(__int64 a1, unsigned __int64 a2, unsigned __int64 a3, char a4) { __int64 v4; // rbp char v8; // r14 char v9; // cl unsigned int v10; // edi __int64 *v11; // rdx unsigned __int64 v12; // rax __int64 *v13; // r8 __int64 v14; // rcx v4 = *(_QWORD *)(a1 + 168); v8 = 0; if ( a4 && v4 ) { sub_1801021C0(v4, 5); v8 = 1; } v9 = 0; if ( a2 > a3 ) { v10 = 31; goto LABEL_23; } v11 = *(__int64 **)(a1 + 576); if ( v11 != (__int64 *)(a1 + 576) ) { do { v12 = v11[3]; v13 = (__int64 *)*v11; if ( v12 >= a2 && v12 <= a3 ) { *(_QWORD *)v11[1] = v13; *(_QWORD *)(*v11 + 8) = v11[1]; v11[1] = (__int64)v11; *v11 = (__int64)v11; v11[3] = -1; v11[2] = 0; v14 = *(_QWORD *)(a1 + 168) + 67600LL; v11[1] = *(_QWORD *)(*(_QWORD *)(a1 + 168) + 67608LL); *v11 = v14; *(_QWORD *)(v14 + 8) = v11; v9 = 1; *(_QWORD *)v11[1] = v11; } v11 = v13; } while ( v13 != (__int64 *)(a1 + 576) ); if ( v9 ) *(_DWORD *)(a1 + 672) = 1; } if ( !a2 && a3 == -1048576 && *(_QWORD *)(a1 + 544) ) { if ( (*(_DWORD *)(a1 + 100) & 0x100) != 0 ) sub_18005A2F0(*(_DWORD **)(a1 + 544)); else *(_BYTE *)(a1 + 688) = 1; *(_DWORD *)(a1 + 680) = 1065353216; goto LABEL_22; } if ( !v9 || (v10 = sub_180069A70(a1)) == 0 ) { LABEL_22: *(_DWORD *)(a1 + 684) = 0; v10 = 0; } LABEL_23: if ( v8 && v4 ) sub_180102300(v4, 5); return v10; }