//
// ThreadViewPopup::levelPicked from 0x1004fc2d8 to 0x1004fc350 (120 bytes)
//
// 2 xrefs:
// > sub_1004FC61C @ 0x1004fc620
// > ??> @ 0x100995868
//
// 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:51 +0000
//
void __fastcall ThreadViewPopup::levelPicked(__int64 a1, __int64 a2)
{
int v2; // w9
void *v4; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
if ( a2 )
{
v2 = *(_DWORD *)(a2 + 332);
if ( *(_DWORD *)(a2 + 328) - v2 >= 1 )
{
v4 = sub_1003065B0("l_%i", *(_DWORD *)(a2 + 328) - v2);
CString = (char *)cocos2d::CCString::getCString((__int64)v4);
sub_100009900(__p, CString);
sub_1004FC36C(a1, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}
}
}