// // sub_18004F240 from 0x18004f240 to 0x18004f2c6 (134 bytes) // // 4 xrefs: // > @ 0x180166e78 // > @ 0x180181a50 // > @ 0x180181a60 // > @ 0x1801f8868 // // 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:16 +0000 // __int64 __fastcall sub_18004F240(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_180049D80); else return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source