//
// NCSInfoLayer::onLibrary from 0x57add8 to 0x57ae0e (54 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:52:48 +0000
//
int __fastcall NCSInfoLayer::onLibrary(NCSInfoLayer *this, cocos2d::CCObject *a2)
{
_DWORD *v3; // r0
_DWORD *v4; // r0
int v5; // r3
v3 = *((_DWORD **)this + 131);
if ( v3 )
{
v3 = (_DWORD *)v3[132];
if ( v3 )
v3 = (_DWORD *)(*(int (__fastcall **)(_DWORD *, cocos2d::CCObject *))(*v3 + 4))(v3, a2);
}
v4 = (_DWORD *)MusicBrowser::create(v3, 1);
v5 = *((_DWORD *)this + 131);
if ( v5 )
v5 += 524;
v4[158] = v5;
return (*(int (__fastcall **)(_DWORD *))(*v4 + 656))(v4);
}