//
// sub_1001427B4 from 0x1001427b4 to 0x100142810 (92 bytes)
//
// 4 xrefs:
// > PlayLayer::levelComplete @ 0x100143144
// > PlayLayer::spawnCircle @ 0x100143314
// > PlayLayer::showCompleteEffect @ 0x1001434c8
// > PlayLayer::showCompleteText @ 0x100143a00
//
// 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:32 +0000
//
double __usercall sub_1001427B4@(__int64 a1@, _QWORD *a2@)
{
__int64 v3; // x8
double *v4; // x1
if ( (*(_BYTE *)(a1 + 12238) & 1) != 0 || (v3 = *(_QWORD *)(a1 + 12608)) == 0 || *(_QWORD *)(a1 + 14896) )
v4 = (double *)(a1 + 14884);
else
v4 = (double *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v3 + 192LL))(*(_QWORD *)(a1 + 12608));
return sub_1000262F4(a2, v4);
}