// // sub_CF1550 from 0xcf1550 to 0xcf16e8 (408 bytes) // // 0 xrefs: // // 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_CF1550(__int64 *a1, char *a2) { size_t v4; // x23 size_t v5; // x0 __int64 v6; // x2 _DWORD *v7; // x24 __int64 v8; // x1 __int64 v9; // x0 char *v10; // x19 _DWORD *v11; // x20 char *v12; // x22 unsigned int v13; // t1 if ( a2 ) { v4 = strlen(a2); v5 = 4 * v4; if ( v4 > 0x1FC0000000000000LL ) v5 = -1; v7 = operator new[](v5); if ( v4 ) { v8 = (unsigned __int8)*a2; v9 = *(__int64 *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 240); if ( !v9 ) LABEL_12: sub_D13870(v9, v8, v6); v10 = a2 + 1; v11 = v7; v12 = &a2[v4]; while ( 1 ) { *v11 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 80LL))(v9, v8); if ( v10 == v12 ) break; ++v11; v13 = (unsigned __int8)*v10++; v8 = v13; v9 = *(__int64 *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 240); if ( !v9 ) goto LABEL_12; } } sub_CF1048(a1, (__int64)v7, v4); operator delete[](v7); } else { sub_CCF1DC((__int64)a1 + *(_QWORD *)(*a1 - 24), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 32) | 1); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source