// // sub_66A234 from 0x66a234 to 0x66a28c (88 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 // char *__fastcall sub_66A234(char *result, _DWORD *a2, int a3, int a4, int a5) { int v6; // r5 int v7; // r8 int v8; // r2 int v9; // r9 int v10; // r7 int i; // r6 int v12; // t1 _BYTE *v13; // r3 _BYTE *v14; // r10 char v15; // r4 v6 = *((_DWORD *)result + 19); v7 = a5 - 1; v8 = *((_DWORD *)result + 7); if ( a5 - 1 >= 0 ) { v9 = 4 * a4 - (_DWORD)a2; do { if ( v6 > 0 ) { v10 = a3 - 4; for ( i = 0; i != v6; ++i ) { v12 = *(_DWORD *)(v10 + 4); v10 += 4; v13 = *(_BYTE **)((char *)a2 + v9 + v12); result = (char *)(*a2 + i); v14 = &v13[v8]; if ( v8 ) { do { v15 = *result; result += v6; *v13++ = v15; } while ( v13 != v14 ); } } } --v7; ++a2; } while ( v7 != -1 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source