//
// GJShaderState::stopTweenAction from 0x9f8640 to 0x9f86bc (124 bytes)
//
// 2 xrefs:
// > GJShaderState::tweenValue @ 0x9f86f0
// > ??> @ 0x517b0
//
// 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 GJShaderState::stopTweenAction(GJShaderState *a1, int a2)
{
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 M_bucket_count; // x6
unsigned __int64 v3; // x8
__int64 *v4; // x2
__int64 *v5; // x5
int v6; // w7
__int64 v7; // x3
M_bucket_count = a1->m_tweenActions._M_h._M_bucket_count;
v3 = a2 % M_bucket_count;
v4 = (__int64 *)a1->m_tweenActions._M_h._M_buckets[v3];
if ( v4 )
{
v5 = (__int64 *)*v4;
v6 = *(_DWORD *)(*v4 + 8);
while ( v6 != a2 )
{
v7 = *v5;
v4 = v5;
v5 = (__int64 *)v7;
if ( v7 )
{
v6 = *(_DWORD *)(v7 + 8);
if ( v3 == v6 % M_bucket_count )
continue;
}
return;
}
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(
(__int64 *)a1,
a2 % M_bucket_count,
v4,
(__int64 *)*v4);
}
}