//
// cocos2d::CCRepeatForever::create from 0xd33960 to 0xd339e8 (136 bytes)
//
// 46 xrefs:
// > LoadingCircle::show @ 0x6a9b40
// > LoadingCircleSprite::init @ 0x6a9d00
// > SpriteAnimationManager::loadAnimations @ 0x6b1c98
// > CreateGuidelinesLayer::init @ 0x6e8934
// > PlayerFireBoostSprite::loopFireAnimation @ 0x74daa0
// > PlayerObject::updateDashArt @ 0x755350
// > PlayerObject::updateDashArt @ 0x755380
// > LevelPage::addSecretCoin @ 0x8c5cfc
// > LevelPage::playCoinEffect @ 0x8c6028
// > LevelPage::updateDynamicPage @ 0x8c7bc8
// > GJBaseGameLayer::init @ 0x9bd674
// > SecretLayer::playCoinEffect @ 0xa5e7d0
// > CurrencySprite::initWithSprite @ 0xa681c0
// > CurrencySprite::initWithSprite @ 0xa68298
// > CurrencySprite::init @ 0xa69600
// > CurrencySprite::init @ 0xa6970c
// > CurrencyRewardLayer::init @ 0xa6b0d8
// > CurrencyRewardLayer::init @ 0xa6b554
// > CurrencyRewardLayer::init @ 0xa6b9cc
// > RewardsPage::init @ 0xa864c4
// > GJChestSprite::switchToState @ 0xa872f0
// > GJChestSprite::switchToState @ 0xa87434
// > GJChestSprite::switchToState @ 0xa874f4
// > SecretLayer2::playCoinEffect @ 0xa8aeb8
// > SecretLayer3::init @ 0xa928f8
// > SecretLayer3::init @ 0xa92918
// > SecretLayer3::init @ 0xa92a64
// > SecretLayer3::init @ 0xa92ab4
// > SecretLayer4::playCoinEffect @ 0xa941e0
// > GJWorldNode::init @ 0xaa76c8
// > WorldSelectLayer::setupWorlds @ 0xaa7bb4
// > GameObject::playDestroyObjectAnim @ 0xaf44d0
// > GameObject::playDestroyObjectAnim @ 0xaf49a8
// > LevelAreaLayer::addGodRay @ 0xb5a3e0
// > LevelAreaLayer::addGodRay @ 0xb5a504
// > LevelAreaLayer::addTorch @ 0xb5b3b0
// > LevelAreaLayer::addTorch @ 0xb5b3d0
// > LevelAreaLayer::addTorch @ 0xb5b520
// > LevelAreaLayer::addTorch @ 0xb5b56c
// > LevelAreaLayer::init @ 0xb5bd3c
// > LevelAreaLayer::init @ 0xb5c1a4
// > LevelAreaInnerLayer::init @ 0xb5ceb8
// > GJPathRewardPopup::init @ 0xba4adc
// > DeathMarkerLayer::buildCell @ 0xc9f430
// > cocos2d::CCRepeatForever::reverse @ 0xd33a08
// > ??> @ 0x7d410
//
// 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 13:07:22 +0000
//
__int64 __fastcall cocos2d::CCRepeatForever::create(cocos2d::CCRepeatForever *this, cocos2d::CCActionInterval *a2)
{
__int64 v2; // x19
v2 = operator new(0x68u);
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v2);
*(_DWORD *)(v2 + 80) = 0;
*(_QWORD *)(v2 + 96) = 0;
*(_QWORD *)v2 = &off_1513AB0;
if ( (unsigned __int8)cocos2d::CCRepeatForever::initWithAction((cocos2d::CCRepeatForever *)v2, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}