//
// EditorSoundConfigInfoLayer::onViewProfile from 0x784ae0 to 0x784b16 (54 bytes)
//
// 0 xrefs:
//
// 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:59:31 +0000
//
FLAlertLayer *__fastcall EditorSoundConfigInfoLayer::onViewProfile(FLAlertLayer *this, cocos2d::CCObject *a2)
{
FLAlertLayer *v2; // r4
GameManager *v3; // r0
bool v4; // r2
v2 = this;
if ( *((_DWORD *)this + 187) )
{
v3 = (GameManager *)GameManager::sharedState(this);
GameManager::setGameVariable(v3, "0047", (_BYTE *)&dword_0 + 1);
this = ProfilePage::create(*(ProfilePage **)(*((_DWORD *)v2 + 187) + 288), 0, v4);
if ( this )
return (FLAlertLayer *)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)this + 656))(this);
}
return this;
}