// // sub_180043060 from 0x180043060 to 0x18004311c (188 bytes) // // 2 xrefs: // > sub_180043D20 @ 0x180043d5d // > @ 0x1801f80dc // // 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_180043060(_OWORD *a1, _OWORD *a2) { __int64 v3; // rax int v5; // r8d char *v6; // rcx unsigned int v7; // eax unsigned int v8; // ecx v3 = a2[5] & 0x3F; v5 = a2[5] & 0x3F; *((_BYTE *)a2 + v3) = 0x80; v6 = (char *)a2 + v3 + 1; v7 = 55 - v5; if ( 55 - v5 < 0 ) { memset(v6, 0, (int)(v7 + 8)); sub_180043150(a2 + 4, a2); v6 = (char *)a2; v7 = 56; } memset(v6, 0, v7); v8 = *((_DWORD *)a2 + 20); *((_DWORD *)a2 + 14) = 8 * v8; *((_DWORD *)a2 + 15) = (v8 >> 29) | (8 * *((_DWORD *)a2 + 21)); sub_180043150(a2 + 4, a2); *a1 = a2[4]; *a2 = 0; a2[1] = 0; a2[2] = 0; a2[3] = 0; a2[4] = 0; a2[5] = 0; *((_QWORD *)a2 + 12) = 0; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source