// // GameManager::addNewCustomObject from 0x323230 to 0x32329c (108 bytes) // // 1 xrefs: // > EditorUI::onNewCustomItem @ 0x3a67c8 // // 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 // const char *__fastcall GameManager::addNewCustomObject(GameManager *a1, cocos2d::CCString *a2, int a3, int a4) { int NextUniqueObjectKey; // r0 int m_customObjectDict; // r8 const char *v8; // r6 const std::string *v9; // r1 cocos2d::CCObject *v10; // r7 cocos2d::CCString *v11; // r0 char *CString; // r0 _DWORD v14[2]; // [sp+8h] [bp-8h] BYREF v14[0] = a3; v14[1] = a4; NextUniqueObjectKey = GameManager::getNextUniqueObjectKey(a1); m_customObjectDict = (int)a1->m_customObjectDict; v8 = (const char *)NextUniqueObjectKey; v10 = (cocos2d::CCObject *)cocos2d::CCString::create(a2, v9); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v8); CString = (char *)cocos2d::CCString::getCString(v11); sub_776584((int)v14, CString); cocos2d::CCDictionary::setObject(m_customObjectDict, v10); sub_774008(v14); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source