// // sub_BAF6EC from 0xbaf6ec to 0xbaf794 (168 bytes) // // 2 xrefs: // > sub_4DE34C @ 0x4de430 // > sub_B87DB4 @ 0xb8a474 // // 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_BAF6EC(__int64 a1, __int64 *a2) { const char *v2; // x3 char *v4; // x0 char *v5; // x20 size_t v6; // x0 __int64 v7; // x19 if ( !a2 ) return 0; if ( *(_BYTE *)(a1 + 959) ) { v2 = *(const char **)(a1 + 296); } else if ( *(_BYTE *)(a1 + 958) ) { v2 = *(const char **)(a1 + 360); } else { v2 = *(_BYTE *)(a1 + 955) ? *(const char **)(a1 + 232) : *(const char **)(a1 + 192); } v4 = sub_B8F880("%s:%d", v2, *(_QWORD *)(a1 + 408)); v5 = v4; if ( !v4 ) return 0; v6 = strlen(v4); v7 = sub_B99AF8(a2, (__int64)v5, v6); off_1231008(v5); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source