//
// GameManager::removeCustomObject from 0x415618 to 0x41567a (98 bytes)
//
// 1 xrefs:
// > EditorUI::onDeleteCustomItem @ 0x6f6868
//
// 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 11:47:40 +0000
//
int __fastcall GameManager::removeCustomObject(GameManager *this, const char *a2)
{
cocos2d::CCString *v3; // r0
const char *CString; // r0
cocos2d::CCDictionary *v5; // r6
const char *v6; // r7
size_t v7; // r0
int v9[3]; // [sp+0h] [bp-14h] BYREF
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
CString = (const char *)cocos2d::CCString::getCString(v3);
memset(v9, 0, sizeof(v9));
v5 = *((cocos2d::CCDictionary **)this + 84);
v6 = CString;
v7 = strlen(CString);
std::string::__init(v9, v6, v7);
cocos2d::CCDictionary::removeObjectForKey(v5);
return std::string::~string((int)v9);
}