// // sub_31AE80 from 0x31ae80 to 0x31aed0 (80 bytes) // // 2 xrefs: // > PlayLayer::loadDefaultColors @ 0x31af2a // > PlayLayer::loadDefaultColors @ 0x31afec // // 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 // int __fastcall sub_31AE80(int a1, _DWORD *a2, unsigned int *a3) { unsigned int v4; // r7 int v7; // r8 _DWORD **v8; // r0 char v9; // r3 _DWORD *v10; // r0 _DWORD *inserted; // r0 v4 = *a3; v7 = *a3 % a2[1]; v8 = sub_30F0A8(a2, v7, a3); if ( v8 && *v8 ) { *(_DWORD *)a1 = *v8; v9 = 0; } else { v10 = (_DWORD *)operator new(8u); *v10 = 0; v10[1] = *a3; inserted = std::_Hashtable,std::__detail::_Identity,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)a2, v7, v4, v10); v9 = 1; *(_DWORD *)a1 = inserted; } *(_BYTE *)(a1 + 4) = v9; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source