// // sub_6F9654 from 0x6f9654 to 0x6f96c4 (112 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 // int __fastcall sub_6F9654(_DWORD *a1, int *a2) { int v3; // r9 char *v4; // r4 int v5; // r2 size_t v6; // r7 int v7; // r6 char *v8; // r3 int v9; // r5 char *v10; // r0 v3 = *a2; v4 = (char *)a1[26]; v5 = *(_DWORD *)(*a2 + 28); v6 = a1[3]; v7 = a1[4]; v8 = (char *)(v5 + *(_DWORD *)(*a2 + 44) * a1[2]); if ( v4 ) { if ( v7 > 0 ) { v9 = 0; do { ++v9; v10 = (char *)memcpy(v8, v4, v6); v4 += *a1; v8 = &v10[*(_DWORD *)(v3 + 44)]; } while ( v9 != v7 ); } } else if ( v5 && v7 > 0 ) { do { ++v4; v8 = (char *)memset(v8, 255, v6) + *(_DWORD *)(v3 + 44); } while ( v4 != (char *)v7 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source