{"type": "func", "start": 4296296084, "end": 4296296156, "name": "CustomSongLayer::onMusicBrowser", "pseudocode": "// \n// CustomSongLayer::onMusicBrowser from 0x100144694 to 0x1001446dc (72 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::init @ 0x100143e58\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 CustomSongLayer::onMusicBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)\n{\n  CustomSongDelegate *m_songDelegate; // x0\n  MusicBrowser *v4; // x0\n\n  m_songDelegate = a1->m_songDelegate;\n  if ( m_songDelegate )\n    LODWORD(m_songDelegate) = ((__int64 (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))m_songDelegate->getActiveSongID)(\n                                m_songDelegate,\n                                a2);\n  v4 = MusicBrowser::create((int)m_songDelegate, Music);\n  v4->m_delegate = &a1->MusicBrowserDelegate;\n  ((void (__fastcall *)(MusicBrowser *))v4->show)(v4);\n}", "assembly": "; \n; CustomSongLayer::onMusicBrowser from 0x100144694 to 0x1001446dc (72 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::init @ 0x100143e58\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, 0x100144694\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100144698\nADD             X29, SP, #0x10                                         ; +0x8, 0x10014469c\nMOV             X19, X0                                                ; +0xc, 0x1001446a0\nLDR             X0, [X0,#0x290]                                        ; +0x10, 0x1001446a4\nCBZ             X0, loc_1001446B8                                      ; +0x14, 0x1001446a8\nLDR             X8, [X0]                                               ; +0x18, 0x1001446ac\nLDR             X8, [X8,#8]                                            ; +0x1c, 0x1001446b0\nBLR             X8                                                     ; +0x20, 0x1001446b4\nMOV             W1, #0xFFFFFFFF                                        ; +0x24, 0x1001446b8\nBL              MusicBrowser__create                                   ; +0x28, 0x1001446bc\nADD             X8, X19, #0x288                                        ; +0x2c, 0x1001446c0\nSTR             X8, [X0,#0x310]                                        ; +0x30, 0x1001446c4\nLDR             X8, [X0]                                               ; +0x34, 0x1001446c8\nLDR             X1, [X8,#0x508]                                        ; +0x38, 0x1001446cc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1001446d0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1001446d4\nBR              X1                                                     ; +0x44, 0x1001446d8", "xrefs": ["CustomSongLayer::init @ 0x100143e58"], "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"}