// // GJBaseGameLayer::createTextLayers from 0x10011f9a0 to 0x10011fddd (1085 bytes) // // 3 xrefs: // > PlayLayer::setupHasCompleted @ 0x1000add6b // > LevelEditorLayer::init @ 0x1000dbd40 // > LevelEditorLayer::updateLevelFont @ 0x1000f14e8 // // 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 // void __fastcall GJBaseGameLayer::createTextLayers(GJBaseGameLayer *a1) { GameManager *v2; // r14 GameManager *v3; // rax const char *FontTexture; // r12 cocos2d::CCTextureCache *v5; // rax cocos2d::CCTexture2D *v6; // r14 cocos2d::CCSpriteBatchNode *v7; // rax cocos2d::CCSpriteBatchNode *v8; // rax cocos2d::CCSpriteBatchNode *v9; // rax cocos2d::CCSpriteBatchNode *v10; // rax cocos2d::CCSpriteBatchNode *v11; // rax cocos2d::CCSpriteBatchNode *v12; // rax cocos2d::CCSpriteBatchNode *v13; // rax cocos2d::CCSpriteBatchNode *v14; // rax cocos2d::CCTextureCache *v15; // rax cocos2d::CCTexture2D *v16; // rax cocos2d::CCSpriteBatchNode *v17; // rax cocos2d::CCTextureCache *v18; // rax cocos2d::CCTexture2D *v19; // rax cocos2d::CCSpriteBatchNode *v20; // rax cocos2d::CCSpriteBatchNode *v21; // rax cocos2d::CCSpriteBatchNode *v22; // rax cocos2d::CCSpriteBatchNode *v23; // rax cocos2d::CCSpriteBatchNode *v24; // rax cocos2d::CCSpriteBatchNode *v25; // rax cocos2d::CCSpriteBatchNode *v26; // rax cocos2d::CCSpriteBatchNode *v27; // rax cocos2d::CCSpriteBatchNode *v28; // rax v2 = GameManager::sharedState(); v3 = GameManager::sharedState(); FontTexture = GameManager::getFontTexture(v2, v3->m_loadedFont); v5 = cocos2d::CCTextureCache::sharedTextureCache(); v6 = cocos2d::CCTextureCache::addImage(v5, FontTexture, 0); v7 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerT4 = v7; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v7, 1260); v8 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerT4 = v8; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v8->setBlendFunc)(v8, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerT4, 1280); v9 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerT3 = v9; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v9, 880); v10 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerT3 = v10; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v10->setBlendFunc)(v10, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerT3, 900); v11 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerT2 = v11; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v11, 580); v12 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerT2 = v12; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v12->setBlendFunc)(v12, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerT2, 600); v13 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerT1 = v13; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v13, 280); v14 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerT1 = v14; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v14->setBlendFunc)(v14, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerT1, 300); v15 = cocos2d::CCTextureCache::sharedTextureCache(); v16 = cocos2d::CCTextureCache::addImage(v15, FontTexture, 0); v17 = cocos2d::CCSpriteBatchNode::createWithTexture(v16, 0x1Du); a1->m_textLayerB1 = v17; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v17, 4294967196LL); v18 = cocos2d::CCTextureCache::sharedTextureCache(); v19 = cocos2d::CCTextureCache::addImage(v18, FontTexture, 0); v20 = cocos2d::CCSpriteBatchNode::createWithTexture(v19, 0x1Du); a1->m_textBlendingLayerB1 = v20; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v20->setBlendFunc)(v20, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerB1, 4294967216LL); v21 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerB2 = v21; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v21, 4294966896LL); v22 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerB2 = v22; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v22->setBlendFunc)(v22, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerB2, 4294966916LL); v23 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerB3 = v23; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v23, 4294966596LL); v24 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerB3 = v24; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v24->setBlendFunc)(v24, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerB3, 4294966616LL); v25 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerB4 = v25; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v25, 4294966296LL); v26 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerB4 = v26; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v26->setBlendFunc)(v26, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerB4, 4294966316LL); v27 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textLayerB5 = v27; ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, v27, 4294965996LL); v28 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, 0x1Du); a1->m_textBlendingLayerB5 = v28; ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))v28->setBlendFunc)(v28, 0x100000302LL); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_objectLayer->addChild_0)( a1->m_objectLayer, a1->m_textBlendingLayerB5, 4294966016LL); }
GD Web Decomp Icon

GD Web Decomp

Raw Source