//
// tinyxml2::XMLNode::DeleteChild from 0xb24954 to 0xb2499c (72 bytes)
//
// 7 xrefs:
// > sub_B1F950 @ 0xb1f968
// > cocos2d::CCUserDefault::setBoolForKey @ 0xb1fb34
// > cocos2d::CCUserDefault::setDoubleForKey @ 0xb1fbe8
// > cocos2d::CCUserDefault::setIntegerForKey @ 0xb1fc9c
// > cocos2d::CCUserDefault::setFloatForKey @ 0xb1fd50
// > cocos2d::CCUserDefault::setStringForKey @ 0xb1fe04
// > ??> @ 0x56d48
//
// 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 tinyxml2::XMLNode::DeleteChild(tinyxml2::XMLNode *this, tinyxml2::XMLNode *a2)
{
__int64 v2; // x19
__int64 result; // x0
if ( a2 )
{
v2 = *((_QWORD *)a2 + 10);
(*(void (__fastcall **)(tinyxml2::XMLNode *))(*(_QWORD *)a2 + 128LL))(a2);
return (*(__int64 (__fastcall **)(__int64, tinyxml2::XMLNode *))(*(_QWORD *)v2 + 32LL))(v2, a2);
}
return result;
}