// // sub_1004895D0 from 0x1004895d0 to 0x100489690 (192 bytes) // // 0 xrefs: // // 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_1004895D0(__int64 a1, _DWORD *a2) { int v2; // w8 __int64 i; // x21 __int64 v6; // x0 __int64 v7; // x0 char v9; // [xsp+Eh] [xbp-22h] BYREF char v10; // [xsp+Fh] [xbp-21h] BYREF *a2 = 0; v2 = *(_DWORD *)(a1 + 12); if ( v2 >= 1 ) { for ( i = 0; i < v2; ++i ) { if ( !*(_BYTE *)(*(_QWORD *)(a1 + 32) + i) ) { v10 = 0; v6 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 8 * i); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v6 + 48LL))(v6, &v10); if ( v10 ) { v9 = 0; v7 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 8 * i); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v7 + 64LL))(v7, &v9); if ( v9 ) ++*a2; } v2 = *(_DWORD *)(a1 + 12); } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source