//
// sub_1000B3478 from 0x1000b3478 to 0x1000b34ec (116 bytes)
//
// 3 xrefs:
// > PlayLayer::setupHasCompleted @ 0x10013f53c
// > sub_1004B8DD4 @ 0x1004b8dfc
// > sub_1004BB048 @ 0x1004bb09c
//
// 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:58:40 +0000
//
__int64 *__usercall sub_1000B3478@(__int64 a1@, int a2@, _QWORD *a3@)
{
__int64 *result; // x0
__int128 v5; // q0
int v6; // [xsp+Ch] [xbp-14h] BYREF
v6 = a2;
result = sub_100019268((_QWORD *)(a1 + 320), &v6);
if ( !result )
return sub_100009900(a3, "");
if ( *((char *)result + 47) < 0 )
return (__int64 *)sub_1000097D0(a3, (void *)result[3], result[4]);
v5 = *(_OWORD *)(result + 3);
a3[2] = result[5];
*(_OWORD *)a3 = v5;
return result;
}