{"type": "func", "start": 5370182592, "end": 5370182707, "name": "NCSInfoLayer::onLibrary", "pseudocode": "// \n// NCSInfoLayer::onLibrary from 0x140167bc0 to 0x140167c33 (115 bytes)\n// \n// 2 xrefs:\n// > NCSInfoLayer::init @ 0x14016776c\n// > <???> @ 0x140917fcc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:27 +0000\n// \n\n__int64 __fastcall NCSInfoLayer::onLibrary(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n  unsigned int v4; // eax\n  __int64 *v5; // rax\n  __int64 v6; // rcx\n  bool v7; // zf\n  __int64 v8; // rdx\n  __int64 v9; // rcx\n\n  v2 = *(_QWORD *)(a1 + 672);\n  if ( v2 && (v3 = *(_QWORD *)(v2 + 680)) != 0 )\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 8LL))(v3);\n  else\n    v4 = 0;\n  v5 = (__int64 *)MusicBrowser::create(v4, 1);\n  v6 = *(_QWORD *)(a1 + 672);\n  v7 = v6 == 0;\n  v8 = v6 + 672;\n  v9 = *v5;\n  if ( v7 )\n    v8 = 0;\n  v5[110] = v8;\n  return (*(__int64 (__fastcall **)(__int64 *))(v9 + 1064))(v5);\n}", "assembly": "; \n; NCSInfoLayer::onLibrary from 0x140167bc0 to 0x140167c33 (115 bytes)\n; \n; 2 xrefs:\n; > NCSInfoLayer::init @ 0x14016776c\n; > <???> @ 0x140917fcc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:27 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140167bc0\npush    rdi                                                            ; +0x5, 0x140167bc5\nsub     rsp, 20h                                                       ; +0x6, 0x140167bc6\nmov     rbx, rcx                                                       ; +0xa, 0x140167bca\nxor     edi, edi                                                       ; +0xd, 0x140167bcd\nmov     rcx, [rcx+2A0h]                                                ; +0xf, 0x140167bcf\ntest    rcx, rcx                                                       ; +0x16, 0x140167bd6\njz      short loc_140167BEF                                            ; +0x19, 0x140167bd9\nmov     rcx, [rcx+2A8h]                                                ; +0x1b, 0x140167bdb\ntest    rcx, rcx                                                       ; +0x22, 0x140167be2\njz      short loc_140167BEF                                            ; +0x25, 0x140167be5\nmov     rax, [rcx]                                                     ; +0x27, 0x140167be7\ncall    qword ptr [rax+8]                                              ; +0x2a, 0x140167bea\njmp     short loc_140167BF1                                            ; +0x2d, 0x140167bed\nmov     eax, edi                                                       ; +0x2f, 0x140167bef\nmov     edx, 1                                                         ; +0x31, 0x140167bf1\nmov     ecx, eax                                                       ; +0x36, 0x140167bf6\ncall    MusicBrowser__create                                           ; +0x38, 0x140167bf8\nmov     rcx, [rbx+2A0h]                                                ; +0x3d, 0x140167bfd\ntest    rcx, rcx                                                       ; +0x44, 0x140167c04\nlea     rdx, [rcx+2A0h]                                                ; +0x47, 0x140167c07\nmov     rcx, [rax]                                                     ; +0x4e, 0x140167c0e\ncmovz   rdx, rdi                                                       ; +0x51, 0x140167c11\nmov     [rax+370h], rdx                                                ; +0x55, 0x140167c15\nmov     rdx, [rcx+428h]                                                ; +0x5c, 0x140167c1c\nmov     rcx, rax                                                       ; +0x63, 0x140167c23\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x140167c26\nadd     rsp, 20h                                                       ; +0x6b, 0x140167c2b\npop     rdi                                                            ; +0x6f, 0x140167c2f\njmp     rdx                                                            ; +0x70, 0x140167c30", "xrefs": ["NCSInfoLayer::init @ 0x14016776c", "<???> @ 0x140917fcc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}