{"type": "func", "start": 4295998712, "end": 4295998820, "name": "CustomSongWidget::updateSongObject", "pseudocode": "// \n// CustomSongWidget::updateSongObject from 0x1000fbcf8 to 0x1000fbd64 (108 bytes)\n// \n// 6 xrefs:\n// > CustomSongWidget::init @ 0x1000fa81c\n// > CustomSongWidget::loadSongInfoFinished @ 0x1000fdf00\n// > CustomSongLayer::onSearch @ 0x1001447d0\n// > CustomSongLayer::dropDownLayerWillClose @ 0x100144ca4\n// > CustomSongLayer::musicBrowserClosed @ 0x100144d0c\n// > SongSelectNode::onSongMode @ 0x100147a40\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::updateSongObject(CustomSongWidget *a1, SongInfoObject *a2)\n{\n  cocos2d::extension::CCScale9Sprite *m_bgSpr; // x0\n  SongInfoObject *m_songInfoObject; // x8\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  sub_1000FA890((__int64)a1, a2);\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject )\n    LODWORD(m_songInfoObject) = m_songInfoObject->m_songID;\n  a1->m_customSongID = (int)m_songInfoObject;\n  CustomSongWidget::updateSongInfo(a1);\n}", "assembly": "; \n; CustomSongWidget::updateSongObject from 0x1000fbcf8 to 0x1000fbd64 (108 bytes)\n; \n; 6 xrefs:\n; > CustomSongWidget::init @ 0x1000fa81c\n; > CustomSongWidget::loadSongInfoFinished @ 0x1000fdf00\n; > CustomSongLayer::onSearch @ 0x1001447d0\n; > CustomSongLayer::dropDownLayerWillClose @ 0x100144ca4\n; > CustomSongLayer::musicBrowserClosed @ 0x100144d0c\n; > SongSelectNode::onSongMode @ 0x100147a40\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000fbcf8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000fbcfc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000fbd00\nMOV             X20, X1                                                ; +0xc, 0x1000fbd04\nMOV             X19, X0                                                ; +0x10, 0x1000fbd08\nLDR             X0, [X0,#0x178]                                        ; +0x14, 0x1000fbd0c\nLDR             X8, [X0]                                               ; +0x18, 0x1000fbd10\nLDR             X8, [X8,#0x148]                                        ; +0x1c, 0x1000fbd14\nMOV             W1, #0                                                 ; +0x20, 0x1000fbd18\nBLR             X8                                                     ; +0x24, 0x1000fbd1c\nLDR             X0, [X19,#0x1D8]                                       ; +0x28, 0x1000fbd20\nCBZ             X0, loc_1000FBD38                                      ; +0x2c, 0x1000fbd24\nLDR             X8, [X0]                                               ; +0x30, 0x1000fbd28\nLDR             X8, [X8,#0x148]                                        ; +0x34, 0x1000fbd2c\nMOV             W1, #0                                                 ; +0x38, 0x1000fbd30\nBLR             X8                                                     ; +0x3c, 0x1000fbd34\nMOV             X0, X19                                                ; +0x40, 0x1000fbd38\nMOV             X1, X20                                                ; +0x44, 0x1000fbd3c\nBL              sub_1000FA890                                          ; +0x48, 0x1000fbd40\nLDR             X8, [X19,#0x150]                                       ; +0x4c, 0x1000fbd44\nCBZ             X8, loc_1000FBD50                                      ; +0x50, 0x1000fbd48\nLDR             W8, [X8,#0x13C]                                        ; +0x54, 0x1000fbd4c\nSTR             W8, [X19,#0x1F0]                                       ; +0x58, 0x1000fbd50\nMOV             X0, X19                                                ; +0x5c, 0x1000fbd54\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1000fbd58\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1000fbd5c\nB               CustomSongWidget__updateSongInfo                       ; +0x68, 0x1000fbd60", "xrefs": ["CustomSongWidget::init @ 0x1000fa81c", "CustomSongWidget::loadSongInfoFinished @ 0x1000fdf00", "CustomSongLayer::onSearch @ 0x1001447d0", "CustomSongLayer::dropDownLayerWillClose @ 0x100144ca4", "CustomSongLayer::musicBrowserClosed @ 0x100144d0c", "SongSelectNode::onSongMode @ 0x100147a40"], "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"}