{"type": "func", "start": 5369448592, "end": 5369448621, "name": "CustomSongCell::getActiveSongID", "pseudocode": "// \n// CustomSongCell::getActiveSongID from 0x1400b4890 to 0x1400b48ad (29 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140548b98\n// > <???> @ 0x14054a090\n// > <???> @ 0x14054b5c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Merged with: CustomSongCell::getActiveSongID, CustomSFXCell::getActiveSFXID\n__int64 __fastcall CustomSongCell::getActiveSongID(__int64 a1)\n{\n  __int64 v1; // rcx\n\n  v1 = *(_QWORD *)(*(_QWORD *)(a1 - 144) + 608LL);\n  if ( v1 )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 8LL))(v1);\n  else\n    return 0;\n}", "assembly": "; \n; CustomSongCell::getActiveSongID from 0x1400b4890 to 0x1400b48ad (29 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140548b98\n; > <???> @ 0x14054a090\n; > <???> @ 0x14054b5c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     rax, [rcx-90h]                                                 ; +0x0, 0x1400b4890\nmov     rcx, [rax+260h]                                                ; +0x7, 0x1400b4897\ntest    rcx, rcx                                                       ; +0xe, 0x1400b489e\njz      short loc_1400B48AA                                            ; +0x11, 0x1400b48a1\nmov     rax, [rcx]                                                     ; +0x13, 0x1400b48a3\njmp     qword ptr [rax+8]                                              ; +0x16, 0x1400b48a6\nxor     eax, eax                                                       ; +0x1a, 0x1400b48aa\nretn                                                                   ; +0x1c, 0x1400b48ac", "xrefs": ["<???> @ 0x140548b98", "<???> @ 0x14054a090", "<???> @ 0x14054b5c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}