//
// UI_get_result_maxsize from 0xa502a4 to 0xa502bc (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x8051c
//
// 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:08:22 +0000
//
int __fastcall UI_get_result_maxsize(_DWORD *a1)
{
if ( (unsigned int)(*a1 - 1) > 1 )
return -1;
else
return a1[5];
}