// // GJBaseGameLayer::createTextLayers from 0x58ca94 to 0x58cd48 (692 bytes) // // 3 xrefs: // > PlayLayer::setupHasCompleted @ 0x409f8e // > LevelEditorLayer::updateLevelFont @ 0x466f4c // > LevelEditorLayer::init @ 0x476348 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:03 +0000 // int __fastcall GJBaseGameLayer::createTextLayers(GJBaseGameLayer *this) { GameManager *v2; // r6 int v3; // r0 cocos2d::CCTextureCache *FontTexture; // r7 cocos2d::CCTextureCache *v5; // r0 cocos2d::CCSpriteBatchNode *v6; // r6 cocos2d::CCTexture2D *v7; // r1 unsigned int v8; // r2 int v9; // r0 cocos2d::CCTexture2D *v10; // r1 unsigned int v11; // r2 int v12; // r0 cocos2d::CCTexture2D *v13; // r1 unsigned int v14; // r2 int v15; // r0 cocos2d::CCTexture2D *v16; // r1 unsigned int v17; // r2 int v18; // r0 cocos2d::CCTexture2D *v19; // r1 unsigned int v20; // r2 int v21; // r0 cocos2d::CCTexture2D *v22; // r1 unsigned int v23; // r2 int v24; // r0 cocos2d::CCTexture2D *v25; // r1 unsigned int v26; // r2 int v27; // r0 cocos2d::CCTexture2D *v28; // r1 unsigned int v29; // r2 int v30; // r0 cocos2d::CCTextureCache *v31; // r0 cocos2d::CCTextureCache *v32; // r0 cocos2d::CCSpriteBatchNode *v33; // r0 cocos2d::CCTexture2D *v34; // r1 unsigned int v35; // r2 int v36; // r0 cocos2d::CCTextureCache *v37; // r0 cocos2d::CCTextureCache *v38; // r0 cocos2d::CCSpriteBatchNode *v39; // r0 cocos2d::CCTexture2D *v40; // r1 unsigned int v41; // r2 int v42; // r0 cocos2d::CCTexture2D *v43; // r1 unsigned int v44; // r2 int v45; // r0 cocos2d::CCTexture2D *v46; // r1 unsigned int v47; // r2 int v48; // r0 cocos2d::CCTexture2D *v49; // r1 unsigned int v50; // r2 int v51; // r0 cocos2d::CCTexture2D *v52; // r1 unsigned int v53; // r2 int v54; // r0 cocos2d::CCTexture2D *v55; // r1 unsigned int v56; // r2 int v57; // r0 cocos2d::CCTexture2D *v58; // r1 unsigned int v59; // r2 int v60; // r0 cocos2d::CCTexture2D *v61; // r1 unsigned int v62; // r2 int v63; // r0 cocos2d::CCTexture2D *v64; // r1 unsigned int v65; // r2 int v66; // r0 v2 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&stru_2FC.st_value + 2)); v3 = GameManager::sharedState(v2); FontTexture = (cocos2d::CCTextureCache *)GameManager::getFontTexture(v2, *(_DWORD *)(v3 + 780)); v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(FontTexture); v6 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v5, (const char *)FontTexture, 0); v9 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v7, v8); *((_DWORD *)this + 391) = v9; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v9, 1260); v12 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v10, v11); *((_DWORD *)this + 392) = v12; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v12 + 456))(v12, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 392), 1280); v15 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v13, v14); *((_DWORD *)this + 405) = v15; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v15, 880); v18 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v16, v17); *((_DWORD *)this + 406) = v18; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v18 + 456))(v18, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 406), 900); v21 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v19, v20); *((_DWORD *)this + 419) = v21; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v21, 580); v24 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v22, v23); *((_DWORD *)this + 420) = v24; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v24 + 456))(v24, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 420), 600); v27 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v25, v26); *((_DWORD *)this + 433) = v27; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v27, 280); v30 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v28, v29); *((_DWORD *)this + 434) = v30; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v30 + 456))(v30, 770, 1); v31 = (cocos2d::CCTextureCache *)(*(int (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 434), 300); v32 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v31); v33 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v32, (const char *)FontTexture, 0); v36 = cocos2d::CCSpriteBatchNode::createWithTexture(v33, v34, v35); *((_DWORD *)this + 453) = v36; v37 = (cocos2d::CCTextureCache *)(*(int (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), v36, -100); v38 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v37); v39 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v38, (const char *)FontTexture, 0); v42 = cocos2d::CCSpriteBatchNode::createWithTexture(v39, v40, v41); *((_DWORD *)this + 454) = v42; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v42 + 456))(v42, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 454), -80); v45 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v43, v44); *((_DWORD *)this + 467) = v45; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v45, -400); v48 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v46, v47); *((_DWORD *)this + 468) = v48; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v48 + 456))(v48, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 468), -380); v51 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v49, v50); *((_DWORD *)this + 481) = v51; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v51, -700); v54 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v52, v53); *((_DWORD *)this + 482) = v54; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v54 + 456))(v54, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 482), -680); v57 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v55, v56); *((_DWORD *)this + 495) = v57; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v57, -1000); v60 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v58, v59); *((_DWORD *)this + 496) = v60; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v60 + 456))(v60, 770, 1); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 496), -980); v63 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v61, v62); *((_DWORD *)this + 509) = v63; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 609) + 232))(*((_DWORD *)this + 609), v63, -1300); v66 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, v64, v65); *((_DWORD *)this + 510) = v66; (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v66 + 456))(v66, 770, 1); return (*(int (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 609) + 232))( *((_DWORD *)this + 609), *((_DWORD *)this + 510), -1280); }
GD Web Decomp Icon

GD Web Decomp

Raw Source