//
// sub_1007518DC from 0x1007518dc to 0x100751934 (88 bytes)
//
// 1 xrefs:
// > sub_1007515A4 @ 0x10075162c
//
// 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 11:13:30 +0000
//
__int64 __fastcall sub_1007518DC(__int64 a1, unsigned int **a2, _QWORD *a3, int a4)
{
unsigned int *v4; // x8
if ( !a2 )
{
*a3 = &unk_1009F203C;
return 2;
}
if ( a4 == 814 )
{
v4 = dword_1009F1EB8;
LABEL_7:
*a2 = v4;
return 1;
}
if ( a4 == 813 )
{
v4 = dword_1009F1E60;
goto LABEL_7;
}
*a2 = nullptr;
return 0;
}