// // sub_67579C from 0x67579c to 0x6757f6 (90 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_67579C(_DWORD *a1) { int v2; // r4 size_t v3; // r6 int v4; // r7 char *v5; // r5 void *v6; // r0 int v7; // r3 v2 = a1[6]; v3 = *(_DWORD *)(v2 + 36); v4 = 2 * v3; v5 = (char *)malloc(2 * v3); if ( !v5 ) { *(_DWORD *)(*a1 + 20) = 56; *(_DWORD *)(*a1 + 24) = 10; (*(void (__fastcall **)(_DWORD *))*a1)(a1); v3 = *(_DWORD *)(v2 + 36); } memcpy(v5, *(const void **)(v2 + 32), v3); v6 = *(void **)(v2 + 28); if ( v6 ) free(v6); v7 = *(_DWORD *)(v2 + 36); *(_DWORD *)(v2 + 28) = v5; *(_DWORD *)(v2 + 32) = v5; *(_DWORD *)(v2 + 4) = v7; *(_DWORD *)v2 = &v5[v7]; *(_DWORD *)(v2 + 36) = v4; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source