//
// sub_14018AEB0 from 0x14018aeb0 to 0x14018af20 (112 bytes)
//
// 4 xrefs:
// > EditorSFXManager::dataLoaded @ 0x14018b0b8
// > ??> @ 0x14089ebb4
// > ??> @ 0x14089ebc4
// > ??> @ 0x140918ef0
//
// 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 11:27:40 +0000
//
bool __fastcall sub_14018AEB0(_QWORD *a1, __int64 a2, __int64 a3)
{
_QWORD *v4; // rsi
__int64 v5; // rax
char *v6; // rbx
__int64 v7; // rax
__int64 v8; // rax
bool result; // al
v4 = a1;
if ( a1[3] > 0xFu )
v4 = (_QWORD *)*a1;
v5 = a1[2];
result = false;
if ( v5 )
{
LOBYTE(a3) = 59;
v6 = (char *)v4 + v5;
v7 = sub_140677120(v4, (char *)v4 + v5, a3);
if ( (char *)v7 != v6 )
{
v8 = v7 - (_QWORD)v4;
if ( v8 != -1 && (unsigned __int64)(v8 + 1) < a1[2] )
return true;
}
}
return result;
}