// // cocos2d::CCAtlasNode::create from 0x10032aa10 to 0x10032aae4 (212 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::CCAtlasNode *__fastcall cocos2d::CCAtlasNode::create( const char *a1, unsigned int a2, unsigned int a3, unsigned int a4) { char *v7; // rbx cocos2d::CCTextureCache *v8; // rax cocos2d::CCTexture2D *v9; // rsi v7 = (char *)operator new(0x198u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v7); *(_QWORD *)v7 = off_100914A70; *((_QWORD *)v7 + 40) = off_100914EA8; *((_QWORD *)v7 + 43) = off_100914F28; *((_QWORD *)v7 + 47) = 0; v7[384] = 0; *((_OWORD *)v7 + 22) = 0; *(_QWORD *)(v7 + 396) = 0; v7[404] = 0; v8 = cocos2d::CCTextureCache::sharedTextureCache(); v9 = cocos2d::CCTextureCache::addImage(v8, a1, 0); if ( cocos2d::CCAtlasNode::initWithTexture((cocos2d::CCAtlasNode *)v7, v9, a2, a3, a4) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 16LL))(v7); return nullptr; } return (cocos2d::CCAtlasNode *)v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source