//
// GameObject::getBallFrame from 0x7704d8 to 0x770508 (48 bytes)
//
// 2 xrefs:
// > PlayLayer::addObject @ 0x6f47ec
// > ??> @ 0x7c3a8
//
// 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:53:12 +0000
//
__int64 __fastcall GameObject::getBallFrame(GameObject *this)
{
const char *v1; // x1
cocos2d::CCString *v2; // x0
v1 = (_BYTE *)(&dword_0 + 3);
if ( (int)this > 2 )
goto LABEL_5;
if ( (int)this < 0 )
{
v1 = nullptr;
LABEL_5:
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"rod_ball_%02d_001.png", v1);
return cocos2d::CCString::getCString(v2);
}
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"rod_ball_%02d_001.png",
(const char *)(unsigned int)this);
return cocos2d::CCString::getCString(v2);
}