// // cocos2d::CCComponent::create from 0x180096100 to 0x1800961c3 (195 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b68b8 // // 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::CCComponent *__fastcall cocos2d::CCComponent::create() { cocos2d::CCObject *v0; // rax cocos2d::CCComponent *v1; // rbx char (__fastcall *init)(cocos2d::CCComponent *, void *); // rdx void (__stdcall *v3)(cocos2d::CCComponent *__hidden); // r8 v0 = (cocos2d::CCObject *)operator new(0x68u); v1 = (cocos2d::CCComponent *)v0; if ( v0 ) { cocos2d::CCObject::CCObject(v0); v1->__vftable = (cocos2d::CCComponent_vtbl *)&cocos2d::CCComponent::`vftable'; v1->m_pOwner = nullptr; v1->m_strName.m_data.0 = 0; v1->m_strName.m_data.m_size = 0; v1->m_strName.m_data.m_capacity = 15; v1->m_strName.m_data.m_smallStorage._Elems[0] = 0; v1->m_bEnabled = 1; } else { v1 = nullptr; } if ( !v1 ) return v1; init = (char (__fastcall *)(cocos2d::CCComponent *, void *))v1->init; if ( init == cocos2d::CCComponent::serialize || ((unsigned __int8 (__fastcall *)(cocos2d::CCComponent *))init)(v1) ) { cocos2d::CCObject::autorelease(v1); return v1; } v3 = v1->~CCComponent; if ( (char *)v3 == (char *)sub_180096070 ) sub_180096070(v1, 1); else ((void (__fastcall *)(cocos2d::CCComponent *, __int64))v3)(v1, 1); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source