//
// NCSInfoLayer::onLibrary from 0x97e2a8 to 0x97e310 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0xad500
// > NCSInfoLayer::init @ 0x9824c4
// > ??> @ 0x1544eb8
//
// 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 12:57:49 +0000
//
__int64 __fastcall NCSInfoLayer::onLibrary(NCSInfoLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
__int64 *v6; // x0
__int64 v7; // x4
__int64 v8; // x3
__int64 v9; // x1
v3 = *((_QWORD *)this + 84);
if ( v3 && (v4 = *(_QWORD *)(v3 + 680)) != 0 )
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4);
else
v5 = 0;
v6 = (__int64 *)MusicBrowser::create(v5, 1);
v7 = *v6;
v8 = *((_QWORD *)this + 84);
v9 = v8 + 672;
if ( !v8 )
v9 = 0;
v6[110] = v9;
return (*(__int64 (**)(void))(v7 + 1312))();
}