//
// sub_B37AC from 0xb37ac to 0xb37e4 (56 bytes)
//
// 4 xrefs:
// > sub_B3130 @ 0xb315c
// > sub_B33B8 @ 0xb3500
// > sub_B3814 @ 0xb3870
// > sub_B3EE8 @ 0xb3f3e
//
// 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 11:41:42 +0000
//
unsigned int __fastcall sub_B37AC(unsigned int *a1, int a2)
{
int v3; // r0
v3 = sub_BD410(a1[2] + 67072, 4 * a2 + 16, &unk_2191F, 0);
*a1 = (v3 + 15) & 0xFFFFFFF0;
a1[1] = v3;
return (v3 + 15) & 0xFFFFFFF0;
}