// // sub_498EB0 from 0x498eb0 to 0x498f28 (120 bytes) // // 2 xrefs: // > std::__detail::_ReuseOrAllocNode>>,false>>>::operator @ 0x49c0bc // > std::__detail::_ReuseOrAllocNode>>,false>>>::operator @ 0x49c0d0 // // 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 sub_498EB0(_DWORD *result, _DWORD *a2) { _DWORD *v3; // r5 int v4; // r6 int v5; // r3 signed int v6; // r6 unsigned int v7; // r4 int v8; // r8 int v9; // r6 int i; // r7 v3 = result; if ( result ) { v4 = a2[1]; *result = *a2; v5 = a2[2]; result[1] = 0; v6 = v5 - v4; result[2] = 0; result[3] = 0; v7 = 954437177 * (v6 >> 3); if ( v7 ) { if ( v7 > 0x38E38E3 ) sub_772FB4(result); result = (_DWORD *)operator new(v6); v7 = (unsigned int)result; } v3[1] = v7; v3[2] = v7; v3[3] = v6 + v7; v8 = a2[1]; v9 = a2[2]; for ( i = 0; v9 != v8 + i; i += 72 ) { result = (_DWORD *)(v7 + i); if ( v7 + i ) result = memcpy(result, (const void *)(v8 + i), 0x48u); } v3[2] = v7 + 72 * ((417566265 * ((unsigned int)(v9 - v8) >> 3)) & 0x1FFFFFFF); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source