//
// GameManager::getGTexture from 0x100318d20 to 0x100318d6c (76 bytes)
//
// 1 xrefs:
// > GJGroundLayer::init @ 0x10002ba70
//
// 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
//
const char *__fastcall GameManager::getGTexture(GameManager *a1, int a2)
{
int v2; // w8
int v3; // w19
cocos2d::CCString *v4; // x0
if ( a2 >= 22 )
v2 = 22;
else
v2 = a2;
if ( v2 <= 1 )
v3 = 1;
else
v3 = v2;
GameManager::loadGround(a1, v3);
v4 = (cocos2d::CCString *)sub_100268F4C("groundSquare_%02d_001.png", v3);
return cocos2d::CCString::getCString(v4);
}