//
// SFXChangelogPopup::init from 0x6c94bc to 0x6c958a (206 bytes)
//
// 1 xrefs:
// > SFXChangelogPopup::create @ 0x6c96e0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:57 +0000
//
cocos2d::CCDirector *__fastcall SFXChangelogPopup::init(SFXChangelogPopup *this, cocos2d::CCArray *a2)
{
cocos2d::CCDirector *inited; // r0
cocos2d::CCDirector *v4; // r7
const char *v5; // r1
int v6; // r4
int v7; // r6
void (__fastcall *v8)(int, _BYTE *); // r9
float v10[4]; // [sp+Ch] [bp-20h] BYREF
_BYTE v11[8]; // [sp+1Ch] [bp-10h] BYREF
inited = (cocos2d::CCDirector *)ScrollViewPopup::initPopup(
this,
a2,
"SFX Changelog",
"No changelog available.",
360.0,
240.0);
v4 = inited;
if ( inited )
{
cocos2d::CCDirector::sharedDirector(inited);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10);
v6 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v5);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 80))(v6, 1061997773);
LODWORD(v10[2]) = SFXChangelogPopup::onCredits;
v10[3] = 0.0;
v7 = CCMenuItemSpriteExtra::create(v6, 0, (int)this, (int)SFXChangelogPopup::onCredits, 0);
CCMenuItemSpriteExtra::setSizeMult(v7, 1.2);
v8 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v11,
(float)((float)(v10[0] * 0.5) + 180.0) - 6.0,
(float)((float)(v10[1] * 0.5) + 120.0) - 6.0);
v8(v7, v11);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v7);
}
return v4;
}