//
// sub_1001502A4 from 0x1001502a4 to 0x1001502ec (72 bytes)
//
// 3 xrefs:
// > sub_100150148 @ 0x1001501ec
// > sub_1001E88B4 @ 0x1001e88e4
// > sub_10051A3B8 @ 0x10051a458
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 10:59:39 +0000
//
__int64 __fastcall sub_1001502A4(__int64 *a1, unsigned __int64 a2)
{
__int64 result; // x0
__int64 v4; // x1
if ( a2 >= 0x2AAAAAAAAAAAAABLL )
sub_10000A5F8();
result = sub_1001502EC();
*a1 = result;
a1[1] = result;
a1[2] = result + 96 * v4;
return result;
}