//
// sub_100012D54 from 0x100012d54 to 0x100012d98 (68 bytes)
//
// 3 xrefs:
// > sub_100012E34 @ 0x100012e7c
// > GJEffectManager::prepareMoveActions @ 0x10001339c
// > GJEffectManager::prepareMoveActions @ 0x1000134cc
//
// 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:17 +0000
//
__int64 __fastcall sub_100012D54(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x19
v1 = *(_QWORD *)(a1 + 1216);
if ( *(_QWORD *)(a1 + 1208) == v1 )
{
v2 = sub_100012D98();
cocos2d::CCObject::retain(v2);
}
else
{
v2 = *(_QWORD *)(v1 - 8);
*(_QWORD *)(a1 + 1216) = v1 - 8;
}
return v2;
}