// // sub_180018B30 from 0x180018b30 to 0x180018bb7 (135 bytes) // // 3 xrefs: // > int `Concurrency::task_completion_event>::set @ 0x180020da7 // > @ 0x180031883 // > @ 0x18004caa0 // // 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 12:15:42 +0000 // void __fastcall sub_180018B30(_QWORD *a1) { _QWORD *v2; // rcx __int64 v3; // rdx __int64 i; // rax v2 = (_QWORD *)a1[1]; if ( v2 ) { v3 = a1[4]; for ( i = a1[3]; i != v3; i += 16 ) { if ( *(_DWORD *)(i + 8) ) terminate(); } if ( (unsigned __int64)(16LL * a1[2]) >= 0x1000 ) { if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); v2 = (_QWORD *)*(v2 - 1); } j_j_free(v2); } }