// // cocos2d::CCTextureAtlas::create from 0x1004a6020 to 0x1004a60b5 (149 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:54 +0000 // char *__fastcall cocos2d::CCTextureAtlas::create(__int64 a1, unsigned int a2) { char *v2; // rbx __int64 v3; // rax __int64 v4; // rax v2 = (char *)operator new(0x70u); cocos2d::CCObject::CCObject((__int64)v2); *(_QWORD *)v2 = off_100B52EC8; *((_QWORD *)v2 + 7) = 0; v2[76] = 0; *(_OWORD *)(v2 + 88) = 0; *((_DWORD *)v2 + 26) = 0; v3 = cocos2d::CCTextureCache::sharedTextureCache(v2); v4 = cocos2d::CCTextureCache::addImage(v3, a1, 0); if ( v4 && (unsigned __int8)cocos2d::CCTextureAtlas::initWithTexture(v2, v4, a2) ) { cocos2d::CCObject::autorelease((__int64)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source