//
// GameObject::getBallFrame from 0x356a94 to 0x356ab2 (30 bytes)
//
// 1 xrefs:
// > PlayLayer::addObject @ 0x311104
//
// 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 *GameObject::getBallFrame(GameObject *a1, int a2)
{
const char *v2; // r1
cocos2d::CCString *v3; // r0
if ( (int)a1 > 2 )
v2 = (char *)&dword_0 + 3;
else
v2 = (const char *)((unsigned int)a1 & ~((int)a1 >> 31));
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"rod_ball_%02d_001.png", v2);
return cocos2d::CCString::getCString(v3);
}