//
// GJGameState::tweenValue from 0x485be8 to 0x485c90 (168 bytes)
//
// 18 xrefs:
// > GJBaseGameLayer::animateOutGroundNew @ 0x485ce2
// > GJBaseGameLayer::cameraMoveX @ 0x485d1c
// > GJBaseGameLayer::cameraMoveY @ 0x485d6e
// > GJBaseGameLayer::animatePortalY @ 0x485de4
// > GJBaseGameLayer::toggleFlipped @ 0x485f04
// > GJBaseGameLayer::updateScreenRotation @ 0x485fa8
// > GJBaseGameLayer::updateCameraOffsetX @ 0x485ffa
// > GJBaseGameLayer::updateCameraOffsetY @ 0x486048
// > GJBaseGameLayer::updateMGOffsetY @ 0x48609a
// > GJBaseGameLayer::updateCamera @ 0x4871c0
// > GJBaseGameLayer::updateInternalCamOffsetX @ 0x4879ae
// > GJBaseGameLayer::updateInternalCamOffsetY @ 0x4879fc
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487b64
// > GJBaseGameLayer::updateStaticCameraPos @ 0x487b8c
// > GJBaseGameLayer::animateInDualGroundNew @ 0x487d5a
// > GJBaseGameLayer::updateZoom @ 0x487f24
// > GJBaseGameLayer::updateStaticCameraPosToGroup @ 0x488450
// > GJBaseGameLayer::updateStaticCameraPosToGroup @ 0x488494
//
// 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::tweenValue(GJGameState *a1, float a2, float a3, int a4, float a5, int a6, float a7, int a8, int a9)
{
std::unordered_map *p_m_tweenActions; // r6
float *v13; // r0
float *v14; // r4
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 v15; // r7
_DWORD **v16; // r0
p_m_tweenActions = &a1->m_tweenActions;
GJGameState::stopTweenAction(a1, a4);
v13 = (float *)operator new(0x30u);
v13[3] = a3;
v13[2] = a2;
v14 = v13;
v13[5] = 0.0;
v13[6] = 0.0;
v13[4] = a5;
*((_DWORD *)v13 + 7) = a6;
*((_BYTE *)v13 + 36) = 0;
v13[8] = a7;
*((_BYTE *)v13 + 37) = 0;
*((_DWORD *)v13 + 10) = a8;
*((_DWORD *)v13 + 11) = a9;
*v13 = 0.0;
*((_DWORD *)v13 + 1) = a4;
v15 = a4 % a1->m_tweenActions._M_h._M_bucket_count;
v16 = sub_46C570(p_m_tweenActions, v15, (_DWORD *)v13 + 1);
if ( v16 && *v16 )
operator delete(v14);
else
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_insert_unique_node(
(int)p_m_tweenActions,
v15,
a4,
v14);
}