// // sub_18004F2D0 from 0x18004f2d0 to 0x18004f356 (134 bytes) // // 4 xrefs: // > @ 0x180166eb8 // > @ 0x180181a80 // > @ 0x180181a90 // > @ 0x1801f888c // // 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_18004F2D0(int a1, int a2, int a3, _QWORD *a4, __int64 a5, __int64 a6) { int v6; // r11d __int64 v7; // rax _QWORD *v8; // r10 v6 = 0; if ( (int)a6 <= 0 ) return 0; v7 = 0; v8 = a4; do { if ( *(_DWORD *)(a5 + 4 * v7) ) { ++v6; *v8++ = a4[v7]; } ++v7; } while ( v7 < (int)a6 ); if ( v6 ) return sub_18004F5A0(a1, a2, a3, (_DWORD)a4, v6, (__int64)sub_180049880); else return 0; }