//
// sub_854D2C from 0x854d2c to 0x854d4a (30 bytes)
//
// 1 xrefs:
// > sub_855A14 @ 0x855acc
//
// 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:02:35 +0000
//
int __fastcall sub_854D2C(int result)
{
int v1; // r4
if ( *(_DWORD *)(result + 34608) )
{
v1 = result;
ENGINE_finish(*(_DWORD *)(result + 34608));
result = ENGINE_free(*(_DWORD *)(v1 + 34608));
*(_DWORD *)(v1 + 34608) = 0;
}
return result;
}