//
// GJBaseGameLayer::createTextLayers from 0x99aa00 to 0x99ae24 (1060 bytes)
//
// 4 xrefs:
// > PlayLayer::setupHasCompleted @ 0x7078b4
// > LevelEditorLayer::updateLevelFont @ 0x793f48
// > LevelEditorLayer::init @ 0x7af144
// > ??> @ 0xa46b0
//
// 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 12:58:04 +0000
//
__int64 __fastcall GJBaseGameLayer::createTextLayers(GJBaseGameLayer *this)
{
GameManager *v2; // x20
__int64 v3; // x0
cocos2d::CCTextureCache *FontTexture; // x22
cocos2d::CCTextureCache *v5; // x0
cocos2d::CCSpriteBatchNode *v6; // x20
unsigned int v7; // w2
__int64 v8; // x0
unsigned int v9; // w2
__int64 v10; // x0
unsigned int v11; // w2
__int64 v12; // x0
unsigned int v13; // w2
__int64 v14; // x0
unsigned int v15; // w2
__int64 v16; // x0
unsigned int v17; // w2
__int64 v18; // x0
unsigned int v19; // w2
__int64 v20; // x0
unsigned int v21; // w2
__int64 v22; // x0
cocos2d::CCTextureCache *v23; // x0
cocos2d::CCTextureCache *v24; // x0
cocos2d::CCSpriteBatchNode *v25; // x0
unsigned int v26; // w2
__int64 v27; // x0
cocos2d::CCTextureCache *v28; // x0
cocos2d::CCTextureCache *v29; // x0
cocos2d::CCSpriteBatchNode *v30; // x0
unsigned int v31; // w2
__int64 v32; // x0
unsigned int v33; // w2
__int64 v34; // x0
unsigned int v35; // w2
__int64 v36; // x0
unsigned int v37; // w2
__int64 v38; // x0
unsigned int v39; // w2
__int64 v40; // x0
unsigned int v41; // w2
__int64 v42; // x0
unsigned int v43; // w2
__int64 v44; // x0
unsigned int v45; // w2
__int64 v46; // x0
unsigned int v47; // w2
__int64 v48; // x0
v2 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 1));
v3 = GameManager::sharedState(v2);
FontTexture = (cocos2d::CCTextureCache *)GameManager::getFontTexture(v2, *(_DWORD *)(v3 + 992));
v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(FontTexture);
v6 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v5, (const char *)FontTexture, 0);
v8 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v7);
*((_QWORD *)this + 279) = v8;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v8,
1260);
v10 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v9);
*((_QWORD *)this + 280) = v10;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 912LL))(v10, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 280),
1280);
v12 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v11);
*((_QWORD *)this + 293) = v12;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v12,
880);
v14 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v13);
*((_QWORD *)this + 294) = v14;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 912LL))(v14, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 294),
900);
v16 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v15);
*((_QWORD *)this + 307) = v16;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v16,
580);
v18 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v17);
*((_QWORD *)this + 308) = v18;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v18 + 912LL))(v18, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 308),
600);
v20 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v19);
*((_QWORD *)this + 321) = v20;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v20,
280);
v22 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v21);
*((_QWORD *)this + 322) = v22;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 912LL))(v22, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
v23 = (cocos2d::CCTextureCache *)(*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 322),
300);
v24 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v23);
v25 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v24, (const char *)FontTexture, 0);
v27 = cocos2d::CCSpriteBatchNode::createWithTexture(v25, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v26);
*((_QWORD *)this + 341) = v27;
v28 = (cocos2d::CCTextureCache *)(*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490)
+ 464LL))(
*((_QWORD *)this + 490),
v27,
4294967196LL);
v29 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v28);
v30 = (cocos2d::CCSpriteBatchNode *)cocos2d::CCTextureCache::addImage(v29, (const char *)FontTexture, 0);
v32 = cocos2d::CCSpriteBatchNode::createWithTexture(v30, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v31);
*((_QWORD *)this + 342) = v32;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v32 + 912LL))(v32, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 342),
4294967216LL);
v34 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v33);
*((_QWORD *)this + 355) = v34;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v34,
4294966896LL);
v36 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v35);
*((_QWORD *)this + 356) = v36;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v36 + 912LL))(v36, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 356),
4294966916LL);
v38 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v37);
*((_QWORD *)this + 369) = v38;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v38,
4294966596LL);
v40 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v39);
*((_QWORD *)this + 370) = v40;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v40 + 912LL))(v40, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 370),
4294966616LL);
v42 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v41);
*((_QWORD *)this + 383) = v42;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v42,
4294966296LL);
v44 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v43);
*((_QWORD *)this + 384) = v44;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v44 + 912LL))(v44, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 384),
4294966316LL);
v46 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v45);
*((_QWORD *)this + 397) = v46;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
v46,
4294965996LL);
v48 = cocos2d::CCSpriteBatchNode::createWithTexture(v6, (cocos2d::CCTexture2D *)((char *)&off_18 + 5), v47);
*((_QWORD *)this + 398) = v48;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v48 + 912LL))(v48, (((_QWORD)&dword_0 + 1) << 32) | 0x302LL);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 490) + 464LL))(
*((_QWORD *)this + 490),
*((_QWORD *)this + 398),
4294966016LL);
}