//
// sub_906EC0 from 0x906ec0 to 0x906ee4 (36 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:04:19 +0000
//
_DWORD *__fastcall sub_906EC0(_DWORD *result, void *a2)
{
bool v2; // zf
_DWORD *v3; // r4
v2 = result == nullptr;
if ( result )
v2 = a2 == nullptr;
v3 = result;
if ( !v2 )
{
result = memcpy(a2, result, 0x54u);
if ( v3[20] )
{
v3[3] = 1;
v3[20] = 0;
}
}
return result;
}