//
// NewThreadPopup::levelPicked from 0x10050b978 to 0x10050b9f0 (120 bytes)
//
// 2 xrefs:
// > sub_10050BCE8 @ 0x10050bcec
// > ??> @ 0x100998a18
//
// 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:59 +0000
//
void __fastcall NewThreadPopup::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_10050BA0C(a1, __p);
if ( v7 < 0 )
operator delete(__p[0]);
}
}
}