// // cocos2d::CCTextureAtlas::create from 0x1004ace40 to 0x1004aced5 (149 bytes) // // 0 xrefs: // // 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 // cocos2d::CCTextureAtlas *__fastcall cocos2d::CCTextureAtlas::create(const char *a1, unsigned int a2) { char *v2; // rbx cocos2d::CCTextureCache *v3; // rax cocos2d::CCTexture2D *v4; // rax v2 = (char *)operator new(0x70u); cocos2d::CCObject::CCObject((__int64)v2); *(_QWORD *)v2 = off_100948088; *((_QWORD *)v2 + 7) = 0; v2[76] = 0; *(_OWORD *)(v2 + 88) = 0; *((_DWORD *)v2 + 26) = 0; v3 = cocos2d::CCTextureCache::sharedTextureCache(); v4 = cocos2d::CCTextureCache::addImage(v3, a1, 0); if ( v4 && cocos2d::CCTextureAtlas::initWithTexture((cocos2d::CCTextureAtlas *)v2, v4, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (cocos2d::CCTextureAtlas *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source