//
// sub_100289678 from 0x100289678 to 0x1002896bc (68 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::generateSpawnRemap @ 0x10027a2b4
// > GJBaseGameLayer::registerSpawnRemap @ 0x1002896f4
//
// 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:01:59 +0000
//
__int64 __fastcall sub_100289678(__int64 a1)
{
__int64 result; // x0
if ( *(_QWORD *)(a1 + 8) >= *(_QWORD *)(a1 + 16) )
result = sub_1002A9318(a1);
else
result = sub_1002A8F2C() + 40;
*(_QWORD *)(a1 + 8) = result;
return result;
}