// // GameToolbox::createHashString from 0x2eced8 to 0x2ecf8e (182 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall GameToolbox::createHashString(_DWORD *a1, const char **a2, int a3) { signed int v6; // r0 int v7; // r7 int v8; // r11 int v9; // r4 void *v11; // [sp+8h] [bp-Ch] BYREF if ( a3 > 0 ) { sub_776584((int)&v11, (char *)&unk_939830); v6 = strlen(*a2); if ( v6 >= a3 ) { v7 = 0; v8 = 0; v9 = (int)(float)((float)v6 / (float)a3); do { sub_77458C(&v11, (unsigned __int8)(*a2)[v8]); ++v7; v8 += v9; } while ( v7 != a3 ); } else { sub_775D40(&v11, a2); } *a1 = v11; v11 = &unk_ACDDA8; sub_774008(&v11); } else { sub_776584((int)a1, (char *)&unk_939830); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source