// // sub_100649350 from 0x100649350 to 0x1006493f1 (161 bytes) // // 1 xrefs: // > @ 0x100985ef0 // // 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 // unsigned __int8 *__fastcall sub_100649350(unsigned __int8 *a1, char a2) { unsigned __int8 *result; // rax _BYTE *v3; // rdi __int64 v4; // rcx unsigned __int64 v5; // r15 unsigned __int8 *v6; // r14 void *__src[2]; // [rsp+0h] [rbp-30h] BYREF result = a1; *(_OWORD *)__src = 0; while ( 1 ) { do { v3 = result; v4 = *result++; } while ( (a7_0[v4] & 2) == 0 ); if ( (_BYTE)v4 == a2 ) break; if ( (_DWORD)v4 == 38 ) { result = (unsigned __int8 *)sub_100649B00(v3, __src); } else if ( !(_DWORD)v4 ) { return nullptr; } } if ( __src[0] ) { if ( __src[0] > v3 ) sub_1007CDD10(); v5 = (unsigned __int64)__src[1]; v6 = result; memmove((void *)((char *)__src[0] - (char *)__src[1]), __src[0], v3 - (char *)__src[0]); result = v6; v3 -= v5; } *v3 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source