//
// GJGameState::stopTweenAction from 0x485b54 to 0x485b88 (52 bytes)
//
// 24 xrefs:
// > GJBaseGameLayer::resetStaticCamera @ 0x485b98
// > GJBaseGameLayer::resetStaticCamera @ 0x485ba0
// > GJBaseGameLayer::resetStaticCamera @ 0x485bc4
// > GJBaseGameLayer::resetStaticCamera @ 0x485bcc
// > GJGameState::tweenValue @ 0x485c14
// > GJBaseGameLayer::updateScreenRotation @ 0x485fae
// > GJBaseGameLayer::updateCameraOffsetX @ 0x486002
// > GJBaseGameLayer::updateCameraOffsetY @ 0x486050
// > GJBaseGameLayer::updateMGOffsetY @ 0x4860a2
// > GJBaseGameLayer::updateCamera @ 0x487164
// > GJBaseGameLayer::updateCamera @ 0x487220
// > GJBaseGameLayer::updateInternalCamOffsetX @ 0x4879b6
// > GJBaseGameLayer::updateInternalCamOffsetY @ 0x487a04
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487ac2
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487b04
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487b9e
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487bb2
// > GJBaseGameLayer::animateInDualGroundNew @ 0x487c62
// > GJBaseGameLayer::updateZoom @ 0x487f2c
// > GJBaseGameLayer::exitStaticCamera @ 0x4881ee
// > GJBaseGameLayer::exitStaticCamera @ 0x488252
// > GJBaseGameLayer::updateStaticCameraPosToGroup @ 0x488374
// > GJBaseGameLayer::updateStaticCameraPosToGroup @ 0x4883c2
// > GJBaseGameLayer::resetLevelVariables @ 0x491e90
//
// 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
//
void GJGameState::stopTweenAction(GJGameState *a1, int a2)
{
int *p_m_tweenActions; // r5
std::_Hashtable, std::allocator>, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>::size_type v3; // r6
int **v4; // r2
int v5; // [sp+4h] [bp-4h] BYREF
p_m_tweenActions = (int *)&a1->m_tweenActions;
v5 = a2;
v3 = a2 % a1->m_tweenActions._M_h._M_bucket_count;
v4 = sub_46C570(&a1->m_tweenActions._M_h._M_buckets, v3, &v5);
if ( v4 )
std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_erase(
p_m_tweenActions,
v3,
v4,
*v4);
}