//
// inflateGetDictionary from 0x94d88c to 0x94d8da (78 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:05:21 +0000
//
int __fastcall inflateGetDictionary(int a1, void *a2, _DWORD *a3)
{
int v3; // r4
int v5; // r2
bool v6; // zf
char *v7; // r0
if ( !a1 )
return -2;
v3 = *(_DWORD *)(a1 + 28);
if ( !v3 )
return -2;
v5 = *(_DWORD *)(v3 + 44);
v6 = a2 == nullptr;
if ( a2 )
v6 = v5 == 0;
if ( !v6 )
{
v7 = (char *)memcpy(a2, (const void *)(*(_DWORD *)(v3 + 48) + *(_DWORD *)(v3 + 52)), v5 - *(_DWORD *)(v3 + 48));
memcpy(&v7[*(_DWORD *)(v3 + 44) - *(_DWORD *)(v3 + 48)], *(const void **)(v3 + 52), *(_DWORD *)(v3 + 48));
}
if ( a3 )
*a3 = *(_DWORD *)(v3 + 44);
return 0;
}