// // sub_743D18 from 0x743d18 to 0x743dac (148 bytes) // // 4 xrefs: // > sub_2FDFF0 @ 0x2fdff8 // > GameLevelManager::verifyContainerOnlyHasLevels @ 0x3cf2d0 // > std::__detail::_Map_base,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,true>::operator[] @ 0x41943c // > 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>::find @ 0x4194ce // // 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 // unsigned int __fastcall sub_743D18(unsigned __int8 *a1, unsigned int a2, int a3) { unsigned int v3; // r2 unsigned __int8 *v4; // lr unsigned __int8 *v5; // r6 unsigned int i; // r5 int v7; // t1 unsigned int v8; // r3 v3 = a3 ^ a2; v4 = a1; if ( a2 > 3 ) { v5 = a1; for ( i = a2; i > 3; i -= 4 ) { v7 = *(_DWORD *)v5; v5 += 4; v3 = (1540483477 * v3) ^ (1540483477 * ((1540483477 * v7) ^ ((unsigned int)(1540483477 * v7) >> 24))); } v8 = a2 - 4; a2 &= 3u; v4 = &a1[(v8 & 0xFFFFFFFC) + 4]; } switch ( a2 ) { case 2u: goto LABEL_10; case 3u: v3 ^= v4[2] << 16; LABEL_10: v3 ^= v4[1] << 8; goto LABEL_11; case 1u: LABEL_11: v3 = 1540483477 * (v3 ^ *v4); break; } return (1540483477 * (v3 ^ (v3 >> 13))) ^ ((1540483477 * (v3 ^ (v3 >> 13))) >> 15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source