// // sub_100616100 from 0x100616100 to 0x1006161bc (188 bytes) // // 1 xrefs: // > sub_100615298 @ 0x1006152d4 // // 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_100616100(char *__s, int a2, _QWORD *a3, _DWORD *a4) { int v6; // w23 __int64 v8; // x24 _BYTE *result; // x0 __int64 v10; // x8 _BYTE *v11; // x9 v6 = a2; if ( a2 == -1 ) v6 = strlen(__s); v8 = 2LL * v6; result = sub_100588710((unsigned int)(v8 + 2), (__int64)"p12_utl.c", 74); if ( !result ) return nullptr; if ( v6 >= 1 ) { v10 = 0; do { v11 = &result[v10]; *v11 = 0; v11[1] = __s[(int)v10 >> 1]; v10 += 2; } while ( v10 < v8 ); } result[2 * v6] = 0; result[(int)(v8 | 1)] = 0; if ( a4 ) *a4 = v8 + 2; if ( a3 ) *a3 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source