// // sub_100047850 from 0x100047850 to 0x100047908 (184 bytes) // // 1 xrefs: // > GameToolbox::particleStringToStruct @ 0x100046fac // // 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 // const void **__fastcall sub_100047850(const void **result, unsigned __int64 a2) { const void **v2; // x19 __int64 v3; // x20 char *v4; // x0 char *v5; // x21 __int64 v6; // x1 char *v7; // x22 size_t v8; // x2 char *v9; // x20 const void *v10; // x8 const void *v11; // x9 _QWORD v12[5]; // [xsp+8h] [xbp-48h] BYREF if ( 0xAAAAAAAAAAAAAAABLL * (((_BYTE *)result[2] - (_BYTE *)*result) >> 3) < a2 ) { if ( a2 >= 0xAAAAAAAAAAAAAABLL ) sub_10000A5F8(); v2 = result; v3 = (_BYTE *)result[1] - (_BYTE *)*result; v12[4] = result; v4 = (char *)sub_10001740C((__int64)result, a2); v5 = &v4[v3]; v7 = &v4[24 * v6]; v8 = (_BYTE *)v2[1] - (_BYTE *)*v2; v9 = &v4[v3 - v8]; memcpy(v9, *v2, v8); v10 = *v2; *v2 = v9; v2[1] = v5; v11 = v2[2]; v2[2] = v7; v12[2] = v10; v12[3] = v11; v12[0] = v10; v12[1] = v10; return (const void **)sub_100017450((__int64)v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source