//
// GameManager::removeCustomObject from 0x1003196c0 to 0x100319724 (100 bytes)
//
// 1 xrefs:
// > EditorUI::onDeleteCustomItem @ 0x1003e8b40
//
// 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
//
void __fastcall GameManager::removeCustomObject(GameManager *a1, int a2)
{
cocos2d::CCString *v3; // x0
char *CString; // x0
cocos2d::CCDictionary *m_customObjectDict; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v3);
m_customObjectDict = a1->m_customObjectDict;
sub_100009900(__p, CString);
cocos2d::CCDictionary::removeObjectForKey_1((int)m_customObjectDict, (char *)__p);
if ( v7 < 0 )
operator delete(__p[0]);
}