//
// cocos2d::CCInteger::create from 0x1800591e0 to 0x180059232 (82 bytes)
//
// 3 xrefs:
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x1800b308e
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2ac0
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCInteger *__fastcall cocos2d::CCInteger::create(int a1)
{
cocos2d::CCObject *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCObject *)operator new(0x40u);
v3 = v2;
if ( v2 )
{
cocos2d::CCObject::CCObject(v2);
v3->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCInteger::`vftable';
LODWORD(v3[1].__vftable) = a1;
}
else
{
v3 = nullptr;
}
cocos2d::CCObject::autorelease(v3);
return (struct cocos2d::CCInteger *)v3;
}