//
// sub_1000118F0 from 0x1000118f0 to 0x100011958 (104 bytes)
//
// 4 xrefs:
// > sub_100011010 @ 0x100011088
// > GJEffectManager::prepareMoveActions @ 0x100013b78
// > GJEffectManager::prepareMoveActions @ 0x100013c44
// > GJBaseGameLayer::processDynamicObjectActions @ 0x1002934c4
//
// 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:57:16 +0000
//
_QWORD *__fastcall sub_1000118F0(__int64 a1)
{
__int64 v2; // x8
_QWORD *v3; // x20
_QWORD *v5; // [xsp+8h] [xbp-18h] BYREF
v2 = *(_QWORD *)(a1 + 1192);
if ( *(_QWORD *)(a1 + 1184) == v2 )
{
v3 = operator new(0x208u);
sub_10000AB80(v3);
v5 = v3;
}
else
{
v5 = *(_QWORD **)(v2 - 8);
*(_QWORD *)(a1 + 1192) = v2 - 8;
}
sub_100011A50(a1 + 1160, &v5);
return v5;
}