//
// sub_1004D1738 from 0x1004d1738 to 0x1004d1798 (96 bytes)
//
// 1 xrefs:
// > sub_1004CF9C0 @ 0x1004cfe6c
//
// 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 11:06:29 +0000
//
_QWORD *__fastcall sub_1004D1738(_QWORD *result)
{
_QWORD *v1; // x19
__int64 v2; // x0
if ( result[136] )
{
v1 = result;
v2 = GameManager::sharedState();
GameManager::setGameVariable(v2, "0047", 1);
result = ProfilePage::create(*(unsigned int *)(v1[136] + 340LL), 0);
if ( result )
return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(*result + 1312LL))(result);
}
return result;
}