// // sub_1005A5144 from 0x1005a5144 to 0x1005a5208 (196 bytes) // // 2 xrefs: // > sub_1005A4FDC @ 0x1005a5080 // > sub_1005A4FDC @ 0x1005a50ec // // 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 // _BYTE *__fastcall sub_1005A5144(_BYTE *result) { unsigned int v1; // w8 unsigned int v2; // w8 unsigned int v3; // w8 unsigned int v4; // w8 unsigned int v5; // w8 unsigned int v6; // w8 unsigned int v7; // w8 unsigned int v8; // w8 unsigned int v9; // w8 unsigned int v10; // w8 unsigned int v11; // w8 unsigned int v12; // w8 unsigned int v13; // w8 unsigned int v14; // w8 int v15; // w8 v1 = (unsigned __int8)result[15] + 1; result[15] = v1; v2 = (unsigned __int8)result[14] + (v1 >> 8); result[14] = v2; v3 = (unsigned __int8)result[13] + (v2 >> 8); result[13] = v3; v4 = (unsigned __int8)result[12] + (v3 >> 8); result[12] = v4; v5 = (unsigned __int8)result[11] + (v4 >> 8); result[11] = v5; v6 = (unsigned __int8)result[10] + (v5 >> 8); result[10] = v6; v7 = (unsigned __int8)result[9] + (v6 >> 8); result[9] = v7; v8 = (unsigned __int8)result[8] + (v7 >> 8); result[8] = v8; v9 = (unsigned __int8)result[7] + (v8 >> 8); result[7] = v9; v10 = (unsigned __int8)result[6] + (v9 >> 8); result[6] = v10; v11 = (unsigned __int8)result[5] + (v10 >> 8); result[5] = v11; v12 = (unsigned __int8)result[4] + (v11 >> 8); result[4] = v12; v13 = (unsigned __int8)result[3] + (v12 >> 8); result[3] = v13; v14 = (unsigned __int8)result[2] + (v13 >> 8); result[2] = v14; v15 = (unsigned __int8)result[1] + (v14 >> 8); result[1] = v15; *result += BYTE1(v15); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source