// // sub_100095740 from 0x100095740 to 0x100095889 (329 bytes) // // 1 xrefs: // > @ 0x1008b4848 // // 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_100095740(__int64 a1, _BYTE *a2) { char v2; // cl _BYTE *result; // rax _BYTE *v4; // rbx _BYTE *v5; // r12 __int64 v6; // rcx int v7; // eax char v8; // dl int v9; // ebx __int64 v10; // rax _BYTE *v11; // r12 if ( *(_BYTE *)(a1 + 88) == 1 ) { v2 = *a2; if ( *a2 ) { result = a2 + 3; while ( v2 != 93 || *(result - 2) != 93 || *(result - 1) != 62 ) { v2 = *(result - 2); ++result; if ( !v2 ) goto LABEL_17; } 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; return result; } LABEL_17: v10 = *(_QWORD *)(a1 + 8); *(_DWORD *)(v10 + 92) = 11; *(_QWORD *)(v10 + 104) = a2; *(_QWORD *)(v10 + 112) = 0; return nullptr; } v6 = *(_QWORD *)(a1 + 8); v7 = 0; v8 = *a2; if ( !*a2 ) { LABEL_16: *(_DWORD *)(v6 + 92) = 10; *(_QWORD *)(v6 + 104) = a2; *(_QWORD *)(v6 + 112) = 0; return nullptr; } LOBYTE(v7) = *(_DWORD *)(v6 + 96) == 1; v9 = *(unsigned __int8 *)(v6 + 89) + 4 * v7 + 2; result = a2; while ( v8 != 60 ) { v8 = *++result; if ( !v8 ) goto LABEL_16; } if ( (*(_BYTE *)(a1 + 25) & 2) != 0 && *(_QWORD *)(a1 + 32) ) { v11 = result; operator delete[](*(void **)(a1 + 32)); result = v11; } *(_QWORD *)(a1 + 32) = a2; *(_QWORD *)(a1 + 40) = result; *(_DWORD *)(a1 + 24) = v9 | 0x100; if ( !result[1] ) return nullptr; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source