//
// CustomSongWidget::onUsage from 0x4e2aec to 0x4e2b6a (126 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:02 +0000
//
int __fastcall CustomSongWidget::onUsage(int this, cocos2d::CCObject *a2)
{
int v2; // r1
int v3; // r7
int v4; // r8
int v5; // r0
int v6[3]; // [sp+4h] [bp-1Ch] BYREF
int v7[3]; // [sp+10h] [bp-10h] BYREF
v2 = *(_DWORD *)(this + 272);
v3 = this;
if ( v2 )
{
v4 = *(_DWORD *)(v2 + 264);
std::string::basic_string(v6, v2 + 268);
std::string::basic_string(v7, *(_DWORD *)(v3 + 272) + 280);
v5 = SongUsagePopup::create(v4, v6, v7);
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
std::string::~string((int)v7);
return std::string::~string((int)v6);
}
return this;
}