// // sub_88581C from 0x88581c to 0x885876 (90 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:03:13 +0000 // int __fastcall sub_88581C(_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