// // GJEffectManager::runTimerTrigger from 0x4a3da2 to 0x4a3e82 (224 bytes) // // 1 xrefs: // > GJBaseGameLayer::activateTimerTrigger @ 0x4764bc // // 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 GJEffectManager::runTimerTrigger( GJEffectManager *a1, int a2, double a3, bool a4, int a5, std::vector *const a6, int a7, int a8) { std::unordered_map> *p_m_unkMap3f8; // r8 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; // r1 std::vector *v13; // r6 unsigned int v14; // r9 _DWORD **v15; // r0 _DWORD *v16; // r5 int v17; // r3 int v18; // lr bool v19; // r7 int v20; // r0 float v21; // s14 int v22; // r1 _DWORD *v23; // r0 double v24; // [sp+10h] [bp-14h] BYREF int v25[2]; // [sp+1Ch] [bp-8h] BYREF p_m_unkMap3f8 = &a1->m_unkMap3f8; v25[0] = a2; M_bucket_count = a1->m_unkMap3f8._M_h._M_bucket_count; v24 = a3; v13 = a6; v14 = a2 % M_bucket_count; v15 = sub_498E08(p_m_unkMap3f8, a2 % M_bucket_count, v25); if ( v15 && *v15 ) { v16 = *v15 + 2; } else { v23 = (_DWORD *)operator new(0x14u); v23[1] = v25[0]; *v23 = 0; v23[2] = 0; v23[3] = 0; v23[4] = 0; v16 = 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_unkMap3f8, v14, a2, v23) + 2; } v17 = v16[1]; if ( v17 == v16[2] ) { std::vector::_M_emplace_back_aux>,int &,int &>( v16, &a5, &v24, (char *)&a4, v25, (void **)&v13->m_start, &a7, &a8); } else { v18 = a5; v19 = a4; v20 = a7; v21 = v24; v22 = a8; if ( v17 ) { *(_DWORD *)(v17 + 24) = v25[0]; *(_DWORD *)(v17 + 16) = v20; *(_DWORD *)(v17 + 20) = v22; *(_BYTE *)v17 = 0; *(_DWORD *)(v17 + 4) = 0; *(_DWORD *)(v17 + 32) = 0; *(_DWORD *)(v17 + 36) = 0; *(_DWORD *)(v17 + 40) = 0; *(_DWORD *)(v17 + 12) = v18; *(float *)(v17 + 8) = v21; *(_BYTE *)(v17 + 28) = v19; std::vector::operator=((void **)(v17 + 32), (void **)&v13->m_start); } v16[1] += 44; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source