// // cocos2d::CCAtlasNode::initWithTexture from 0xd3c228 to 0xd3c330 (264 bytes) // // 3 xrefs: // > cocos2d::CCAtlasNode::initWithTileFile @ 0xd3c37c // > cocos2d::CCLabelAtlas::initWithString @ 0xd54618 // > @ 0x54058 // // This function is hookable on this platform (idp: arm, 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 13:07:26 +0000 // __int64 __fastcall cocos2d::CCAtlasNode::initWithTexture( cocos2d::CCAtlasNode *this, cocos2d::CCTexture2D *a2, int a3, int a4, unsigned int a5) { cocos2d::CCTextureAtlas *v7; // x21 void (__fastcall *v8)(cocos2d::CCAtlasNode *, __int64); // x21 cocos2d::CCShaderCache *v9; // x0 __int64 v10; // x0 *((_DWORD *)this + 90) = a3; *((_DWORD *)this + 91) = a4; *((_BYTE *)this + 368) = -1; *((_BYTE *)this + 369) = -1; *((_BYTE *)this + 370) = -1; *((_BYTE *)this + 384) = 1; *((_DWORD *)this + 97) = 1; *((_DWORD *)this + 98) = 771; v7 = (cocos2d::CCTextureAtlas *)operator new(0x70u); cocos2d::CCTextureAtlas::CCTextureAtlas(v7); *((_QWORD *)this + 47) = v7; cocos2d::CCTextureAtlas::initWithTexture(v7, a2, a5); if ( !*((_QWORD *)this + 47) ) return 0; cocos2d::CCAtlasNode::updateBlendFunc(this); cocos2d::CCAtlasNode::updateOpacityModifyRGB(this); cocos2d::CCAtlasNode::calculateMaxItems(this); *((_DWORD *)this + 99) = a5; v8 = *(void (__fastcall **)(cocos2d::CCAtlasNode *, __int64))(*(_QWORD *)this + 664LL); v9 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(*(cocos2d::CCShaderCache **)this); v10 = cocos2d::CCShaderCache::programForKey(v9, "ShaderPositionTexture_uColor"); v8(this, v10); (*(void (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 656LL))(this); *((_DWORD *)this + 100) = glGetUniformLocation(); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source