//
// sub_10052AD20 from 0x10052ad20 to 0x10052adc8 (168 bytes)
//
// 3 xrefs:
// > SongUsagePopup::songUsageFinished @ 0x10052a948
// > SongUsagePopup::songUsageFinished @ 0x10052ab74
// > SongUsagePopup::songUsageFailed @ 0x10052b484
//
// 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:07:17 +0000
//
__int64 __fastcall sub_10052AD20(__int64 a1, const char *a2)
{
void *v3; // x20
__int16 v5; // [xsp+Ch] [xbp-14h] BYREF
char v6; // [xsp+Eh] [xbp-12h]
v3 = cocos2d::CCLabelBMFont::create_1(a2, "chatFont.fnt");
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v3 + 160LL))(v3, 0.8);
v6 = 0;
v5 = 0;
(*(void (__fastcall **)(void *, __int16 *))(*(_QWORD *)v3 + 1072LL))(v3, &v5);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 1024LL))(v3, 150);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 184LL))(v3, a1 + 732);
return (*(__int64 (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v3);
}