{"type": "func", "start": 4301373056, "end": 4301373188, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x10061be80 to 0x10061bf04 (132 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x1002bf028\n// > CustomSongWidget::init @ 0x10061adc3\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\nvoid __fastcall CustomSongWidget::onGetSongInfo(CustomSongWidget *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::extension::CCScale9Sprite *m_bgSpr; // rdi\n  MusicDownloadManager *v4; // rax\n\n  if ( a1->m_songInfoObject )\n  {\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);\n    m_bgSpr = a1->m_bgSpr;\n    if ( m_bgSpr )\n      ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD))m_bgSpr->setVisible)(m_bgSpr, 0);\n    v4 = MusicDownloadManager::sharedState();\n    MusicDownloadManager::getSongInfo(v4, a1->m_customSongID, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))a1->m_getSongInfoBtn->setColor)(\n      a1->m_getSongInfoBtn,\n      &unk_100822622);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, 0);\n  }\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x10061be80 to 0x10061bf04 (132 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x1002bf028\n; > CustomSongWidget::init @ 0x10061adc3\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\ncmp     qword ptr [rdi+150h], 0                                        ; +0x0, 0x10061be80\njz      short locret_10061BF03                                         ; +0x8, 0x10061be88\npush    rbp                                                            ; +0xa, 0x10061be8a\nmov     rbp, rsp                                                       ; +0xb, 0x10061be8b\npush    rbx                                                            ; +0xe, 0x10061be8e\npush    rax                                                            ; +0xf, 0x10061be8f\nmov     rbx, rdi                                                       ; +0x10, 0x10061be90\nmov     rdi, [rdi+178h]                                                ; +0x13, 0x10061be93\nmov     rax, [rdi]                                                     ; +0x1a, 0x10061be9a\nxor     esi, esi                                                       ; +0x1d, 0x10061be9d\ncall    qword ptr [rax+148h]                                           ; +0x1f, 0x10061be9f\nmov     rdi, [rbx+1D8h]                                                ; +0x25, 0x10061bea5\ntest    rdi, rdi                                                       ; +0x2c, 0x10061beac\njz      short loc_10061BEBC                                            ; +0x2f, 0x10061beaf\nmov     rax, [rdi]                                                     ; +0x31, 0x10061beb1\nxor     esi, esi                                                       ; +0x34, 0x10061beb4\ncall    qword ptr [rax+148h]                                           ; +0x36, 0x10061beb6\ncall    MusicDownloadManager__sharedState                              ; +0x3c, 0x10061bebc\nmov     esi, [rbx+1F0h]                                                ; +0x41, 0x10061bec1\nmov     rdi, rax                                                       ; +0x47, 0x10061bec7\nxor     edx, edx                                                       ; +0x4a, 0x10061beca\ncall    MusicDownloadManager__getSongInfo                              ; +0x4c, 0x10061becc\nmov     rdi, [rbx+198h]                                                ; +0x51, 0x10061bed1\nmov     rax, [rdi]                                                     ; +0x58, 0x10061bed8\nlea     rsi, unk_100822622                                             ; +0x5b, 0x10061bedb\ncall    qword ptr [rax+3B0h]                                           ; +0x62, 0x10061bee2\nmov     rdi, [rbx+198h]                                                ; +0x68, 0x10061bee8\nmov     rax, [rdi]                                                     ; +0x6f, 0x10061beef\nmov     rax, [rax+410h]                                                ; +0x72, 0x10061bef2\nxor     esi, esi                                                       ; +0x79, 0x10061bef9\nadd     rsp, 8                                                         ; +0x7b, 0x10061befb\npop     rbx                                                            ; +0x7f, 0x10061beff\npop     rbp                                                            ; +0x80, 0x10061bf00\njmp     rax                                                            ; +0x81, 0x10061bf01\nretn                                                                   ; +0x83, 0x10061bf03", "xrefs": ["LevelInfoLayer::init @ 0x1002bf028", "CustomSongWidget::init @ 0x10061adc3"], "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"}