// // cocos2d::CCTextureAtlas::createWithTexture from 0x1800a6250 to 0x1800a631c (204 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b7cec // // 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::CCTextureAtlas *__fastcall cocos2d::CCTextureAtlas::createWithTexture( struct cocos2d::CCTexture2D *a1, unsigned int a2) { cocos2d::CCObject *v4; // rax cocos2d::CCTextureAtlas *v5; // rbx cocos2d::CCTextureAtlas *(__fastcall *v7)(cocos2d::CCTextureAtlas *, char); // r8 v4 = (cocos2d::CCObject *)operator new(0x70u); v5 = (cocos2d::CCTextureAtlas *)v4; if ( v4 ) { cocos2d::CCObject::CCObject(v4); v5->__vftable = (cocos2d::CCTextureAtlas_vtbl *)&cocos2d::CCTextureAtlas::`vftable'; v5->m_pIndices = nullptr; v5->m_bDirty = 0; v5->m_pTexture = nullptr; v5->m_pQuads = nullptr; v5->m_uMaxQuads = 0; } else { v5 = nullptr; } if ( v5 ) { if ( cocos2d::CCTextureAtlas::initWithTexture(v5, a1, a2) ) { cocos2d::CCObject::autorelease(v5); return v5; } v7 = (cocos2d::CCTextureAtlas *(__fastcall *)(cocos2d::CCTextureAtlas *, char))v5->~CCTextureAtlas; if ( v7 == sub_1800A60D0 ) { sub_1800A60D0(v5, 1); return nullptr; } v7(v5, 1); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source