// // std::__ndk1::__murmur2_or_cityhash::operator from 0x4661c4 to 0x46623e (122 bytes) // // 9 xrefs: // > sub_466248 @ 0x466282 // > sub_4662D0 @ 0x4662f0 // > std::__ndk1::__hash_table,std::__ndk1::equal_to,std::__ndk1::allocator>::find @ 0x46b95a // > drawTrace @ 0x47b24a // > drawTrace @ 0x47b626 // > drawTrace @ 0x47baf4 // > canDrawLine @ 0x47c5f8 // > canDrawLine @ 0x47c662 // > std::__ndk1::__get_sp_mut @ 0x977036 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:56 +0000 // unsigned int __fastcall std::__murmur2_or_cityhash::operator()(int a1, int a2, unsigned int a3) { unsigned int v3; // r4 unsigned int i; // r3 _DWORD *v5; // r6 unsigned int v6; // r4 int v7; // r2 int v8; // r6 v3 = a3; for ( i = a3; ; i = (1540483477 * i) ^ (1540483477 * ((1540483477 * *v5) ^ ((unsigned int)(1540483477 * *v5) >> 24))) ) { v5 = (_DWORD *)(a3 - v3 + a2); if ( v3 <= 3 ) break; v3 -= 4; } v6 = a3 >> 2; v7 = a3 & 3; v8 = a2 + 4 * v6; switch ( v7 ) { case 2: goto LABEL_9; case 3: i ^= *(unsigned __int8 *)(v8 + 2) << 16; LABEL_9: i ^= *(unsigned __int8 *)(v8 + 1) << 8; LABEL_10: i = 1540483477 * (i ^ *(unsigned __int8 *)(a2 + 4 * v6)); return (1540483477 * (i ^ (i >> 13))) ^ ((1540483477 * (i ^ (i >> 13))) >> 15); case 1: goto LABEL_10; } return (1540483477 * (i ^ (i >> 13))) ^ ((1540483477 * (i ^ (i >> 13))) >> 15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source