// // sub_10044F834 from 0x10044f834 to 0x10044f928 (244 bytes) // // 2 xrefs: // > sub_10044EE78 @ 0x10044efa8 // > sub_10044FCF4 @ 0x10044fd64 // // 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 // __int64 __fastcall sub_10044F834(_QWORD *a1, int a2) { __int64 v5; // x1 void *v6; // x0 void *v7; // x21 __int64 v8; // x8 if ( *((_DWORD *)a1 + 2) > a2 ) return 28; if ( a2 ) { v5 = (unsigned int)(16 * a2); if ( (unsigned int)(v5 - 1) > 0x3FFFFFFE ) return 38; v6 = (void *)sub_1004B11FC(*((_QWORD *)off_1008524C8 + 54), v5, "../../src/fmod_memory.h", 243, 0, 0, 1); if ( !v6 ) return 38; v7 = v6; v8 = *((int *)a1 + 2); if ( (_DWORD)v8 ) memcpy(v6, (const void *)*a1, 16 * v8); } else { v7 = nullptr; } if ( *((int *)a1 + 3) >= 1 ) { if ( *a1 ) sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), *a1, "../../src/fmod_memory.h", 255, 1); } *a1 = v7; *((_DWORD *)a1 + 3) = a2; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source