//
// sub_810A7C from 0x810a7c to 0x810a9a (30 bytes)
//
// 5 xrefs:
// > pugi::xml_node::append_child @ 0x812d5e
// > pugi::xml_node::prepend_child @ 0x812f04
// > pugi::xml_node::insert_child_before @ 0x812f96
// > pugi::xml_node::insert_child_after @ 0x813042
// > pugi::xml_node::append_buffer @ 0x814ef8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:37 +0000
//
bool __fastcall sub_810A7C(_BOOL4 result, unsigned int a2)
{
if ( (unsigned int)(result - 1) > 1 || a2 <= 1 )
return 0;
if ( !result )
return a2 - 7 > 1;
return result;
}