//
// ProfilePage::setupComments from 0x5f6220 to 0x5f63a0 (384 bytes)
//
// 1 xrefs:
// > ProfilePage::init @ 0x5fab36
//
// 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:54:31 +0000
//
int __fastcall ProfilePage::setupComments(ProfilePage *this)
{
float v2; // s16
const char *v3; // r1
int v4; // r6
int v5; // r0
int v6; // r10
void (__fastcall *v7)(int, _DWORD *); // r11
const char *v8; // r1
cocos2d::CCSprite *v9; // r8
int v10; // r0
int v11; // r8
const cocos2d::CCPoint *v12; // r11
void (__fastcall *v13)(int, _BYTE *); // r10
cocos2d::CCPoint *v15; // [sp+Ch] [bp-38h]
float v16[2]; // [sp+14h] [bp-30h] BYREF
_BYTE v17[8]; // [sp+1Ch] [bp-28h] BYREF
_BYTE v18[8]; // [sp+24h] [bp-20h] BYREF
_DWORD (*v19)(ProfilePage *__hidden, cocos2d::CCObject *); // [sp+2Ch] [bp-18h]
int v20; // [sp+30h] [bp-14h]
_DWORD v21[2]; // [sp+34h] [bp-10h] BYREF
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v16);
v2 = (float)(v16[1] * 0.5) - 53.0;
v4 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v3);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 80))(v4, 1061997773);
v19 = ProfilePage::onPrevPage;
v20 = 0;
v5 = CCMenuItemSpriteExtra::create(v4, 0, (int)this, (int)ProfilePage::onPrevPage, 0);
*((_DWORD *)this + 148) = v5;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v5);
v6 = *((_DWORD *)this + 148);
v7 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v6 + 92);
v15 = *((cocos2d::CCPoint **)this + 111);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (float)(v16[0] * 0.5) - 195.0, v2);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v21, v15);
v7(v6, v21);
CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 148), 2.0);
v9 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v8);
cocos2d::CCSprite::setFlipX(v9, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)v9 + 80))(v9, 1061997773);
v21[0] = ProfilePage::onNextPage;
v21[1] = 0;
v10 = CCMenuItemSpriteExtra::create((int)v9, 0, (int)this, (int)ProfilePage::onNextPage, 0);
*((_DWORD *)this + 147) = v10;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v10);
v11 = *((_DWORD *)this + 147);
v12 = *((const cocos2d::CCPoint **)this + 111);
v13 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, (float)(v16[0] * 0.5) + 195.0, v2);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v18, v12);
v13(v11, v18);
CCMenuItemSpriteExtra::setSizeMult(*((_DWORD *)this + 147), 2.0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 148) + 172))(*((_DWORD *)this + 148), 0);
return (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 147) + 172))(*((_DWORD *)this + 147), 0);
}