//
// sub_9152C from 0x9152c to 0x91556 (42 bytes)
//
// 1 xrefs:
// > sub_923B6 @ 0x923b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_9152C(int a1, int a2, int a3, unsigned int a4)
{
unsigned int v4; // r1
int result; // r0
v4 = *(_DWORD *)(a1 + 376);
if ( !v4 )
return 0;
result = sub_5C7EA(*(_DWORD *)(a1 + 128) + 1264, v4, 1, a4);
if ( !result )
{
result = 0;
*(_DWORD *)(a1 + 376) = 0;
}
return result;
}