// // sub_C5E68 from 0xc5e68 to 0xc5eda (114 bytes) // // 1 xrefs: // > sub_C6A10 @ 0xc6a30 // // 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 // void __fastcall sub_C5E68(void *a1, int a2) { unsigned int v4; // r1 void *v5; // r0 size_t v6; // r1 v4 = *(_DWORD *)(a2 + 80) & 0x3F; *(_BYTE *)(a2 + v4) = 0x80; v5 = (void *)(a2 + v4 + 1); if ( v4 < 0x38 ) { v6 = 55 - v4; } else { memset(v5, 0, v4 ^ 0x3F); sub_C5EDC(a2 + 64, a2); v6 = 56; v5 = (void *)a2; } memset(v5, 0, v6); *(_QWORD *)(a2 + 56) = 8LL * *(_QWORD *)(a2 + 80); sub_C5EDC(a2 + 64, a2); qmemcpy(a1, (const void *)(a2 + 64), 0x10u); memset((void *)a2, 0, 0x60u); }
GD Web Decomp Icon

GD Web Decomp

Raw Source