//
// sub_1004CAA20 from 0x1004caa20 to 0x1004caa78 (88 bytes)
//
// 2 xrefs:
// > EditorSFXManager::dataLoaded @ 0x1004ca758
// > EditorSFXManager::dataLoaded @ 0x1004ca778
//
// This function is hookable on this platform (idp: arm, 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:06:25 +0000
//
bool __fastcall sub_1004CAA20(__int64 a1)
{
std::string::size_type v2; // x0
unsigned __int64 v3; // x9
v2 = std::string::find((const std::string *)a1, 59, 0);
if ( v2 == -1 )
return 0;
v3 = *(unsigned __int8 *)(a1 + 23);
if ( (v3 & 0x80u) != 0LL )
v3 = *(_QWORD *)(a1 + 8);
return v2 + 1 < v3;
}