// // GameManager::addNewCustomObject from 0x100319398 to 0x100319424 (140 bytes) // // 1 xrefs: // > EditorUI::onNewCustomItem @ 0x1003e86e0 // // 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 GameManager::addNewCustomObject(GameManager *a1, __int128 *a2) { __int64 NextUniqueObjectKey; // x19 cocos2d::CCDictionary *m_customObjectDict; // x21 cocos2d::CCObject *v6; // x20 cocos2d::CCString *v7; // x0 char *CString; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v11; // [xsp+1Fh] [xbp-21h] NextUniqueObjectKey = GameManager::getNextUniqueObjectKey(a1); m_customObjectDict = a1->m_customObjectDict; v6 = sub_100268E48(a2); v7 = (cocos2d::CCString *)sub_100268F4C("%i", NextUniqueObjectKey); CString = (char *)cocos2d::CCString::getCString(v7); sub_100009900(__p, CString); cocos2d::CCDictionary::setObject_1(m_customObjectDict, v6, __p); if ( v11 < 0 ) operator delete(__p[0]); return NextUniqueObjectKey; }
GD Web Decomp Icon

GD Web Decomp

Raw Source