//
// sub_6014B8 from 0x6014b8 to 0x6014d6 (30 bytes)
//
// 5 xrefs:
// > pugi::xml_node::append_child @ 0x603686
// > pugi::xml_node::prepend_child @ 0x60382c
// > pugi::xml_node::insert_child_before @ 0x6038ba
// > pugi::xml_node::insert_child_after @ 0x60395a
// > pugi::xml_node::append_buffer @ 0x605880
//
// 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
//
bool __fastcall sub_6014B8(_BOOL4 result, unsigned int a2)
{
if ( (unsigned int)(result - 1) > 1 || a2 <= 1 )
return 0;
if ( !result )
return a2 - 7 > 1;
return result;
}