// // sub_10005CF50 from 0x10005cf50 to 0x10005cfec (156 bytes) // // 1 xrefs: // > @ 0x100ab7ae8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:19:40 +0000 // _BYTE *__fastcall sub_10005CF50(__int64 a1, char *a2) { char v2; // cl _BYTE *result; // rax _BYTE *v4; // rbx _BYTE *v5; // r12 __int64 v6; // rax v2 = *a2; if ( *a2 ) { result = a2 + 3; while ( v2 != 45 || *(result - 2) != 45 || *(result - 1) != 62 ) { v2 = *(result - 2); ++result; if ( !v2 ) goto LABEL_11; } v4 = result - 3; if ( (*(_BYTE *)(a1 + 25) & 2) != 0 ) { if ( *(_QWORD *)(a1 + 32) ) { v5 = result; operator delete[](*(void **)(a1 + 32)); result = v5; } } *(_QWORD *)(a1 + 32) = a2; *(_QWORD *)(a1 + 40) = v4; *(_DWORD *)(a1 + 24) = 258; } else { LABEL_11: v6 = *(_QWORD *)(a1 + 8); *(_DWORD *)(v6 + 92) = 12; *(_QWORD *)(v6 + 104) = a2; *(_QWORD *)(v6 + 112) = 0; return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source