//
// sub_100018AE0 from 0x100018ae0 to 0x100018b20 (64 bytes)
//
// 10 xrefs:
// > GJEffectManager::updateOpacityEffects @ 0x10000ff00
// > GJEffectManager::postCollisionCheck @ 0x100010264
// > sub_10001B104 @ 0x10001b124
// > FMODAudioEngine::channelStopped @ 0x10013c2b8
// > GJGameState::controlTweenAction @ 0x1001d9d50
// > GJGameState::updateTweenActions @ 0x1001d9dd8
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e0e7c
// > GJBaseGameLayer::processStateObjects @ 0x1001ea89c
// > GJBaseGameLayer::processAdvancedFollowActions @ 0x1001f892c
// > GJShaderState::updateTweenActions @ 0x10026d8a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100018AE0(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
void *v3; // x0
void *__p; // [xsp+8h] [xbp-28h] BYREF
v2 = *a2;
sub_100018910(a1, a2, (__int64)&__p);
v3 = __p;
__p = nullptr;
if ( v3 )
operator delete(v3);
return v2;
}