//
// LevelListLayer::onViewProfile from 0xba9098 to 0xba90c8 (48 bytes)
//
// 3 xrefs:
// > ??> @ 0x95368
// > LevelListLayer::init @ 0xbaefe8
// > ??> @ 0x15440a0
//
// 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:02:51 +0000
//
__int64 __fastcall LevelListLayer::onViewProfile(__int64 this, cocos2d::CCObject *a2)
{
__int64 v2; // x0
if ( !*(_BYTE *)(this + 952) )
{
v2 = ProfilePage::create((ProfilePage *)*(unsigned int *)(*(_QWORD *)(this + 912) + 364LL), 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
}
return this;
}