// // sub_BD994 from 0xbd994 to 0xbda26 (146 bytes) // // 1 xrefs: // > sub_BDA34 @ 0xbda78 // // 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_BD994(int a1, _DWORD *a2) { unsigned __int64 *v4; // r0 unsigned __int64 *v5; // r9 unsigned __int64 *v6; // r0 int v7; // r1 unsigned int result; // r0 if ( !a1 ) return a2[12]; if ( a1 < 0 ) return -1; v4 = sub_BD410( *(int *)((char *)&dword_14C + (_DWORD)off_E8000), a1 + 16, "../../src/fmod_memory.cpp", 0x95u, a2[6], 0); if ( !v4 ) return -1; v5 = v4; v6 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 0xCu, "../../src/fmod_memory.cpp", 0x9Cu, a2[6], 0); if ( !v6 ) return -1; *((_DWORD *)v6 + 1) = v6; *((_DWORD *)v6 + 2) = v5; v7 = a2[3]; *(_DWORD *)v6 = a2 + 2; *((_DWORD *)v6 + 1) = v7; a2[3] = v6; **((_DWORD **)v6 + 1) = v6; result = ((unsigned int)v5 + 15) & 0xFFFFFFF0; a2[12] = result + a1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source