//
// EditorSoundConfigInfoLayer::onViewProfile from 0xcccb4c to 0xcccba4 (88 bytes)
//
// 3 xrefs:
// > ??> @ 0xbdb38
// > EditorSoundConfigInfoLayer::init @ 0xcd0dcc
// > ??> @ 0x1545800
//
// 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:06:24 +0000
//
_QWORD *__fastcall EditorSoundConfigInfoLayer::onViewProfile(_QWORD *this, cocos2d::CCObject *a2)
{
_QWORD *v2; // x19
GameManager *v3; // x0
if ( *(this + 136) )
{
v2 = this;
v3 = (GameManager *)GameManager::sharedState((GameManager *)this);
GameManager::setGameVariable(v3, "0047", 1u);
this = (_QWORD *)ProfilePage::create((ProfilePage *)*(unsigned int *)(v2[136] + 340LL), 0);
if ( this )
return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(*this + 1312LL))(this);
}
return this;
}