{"type": "func", "start": 5746722, "end": 5746778, "name": "CustomSongLayer::musicBrowserClosed", "pseudocode": "// \n// CustomSongLayer::musicBrowserClosed from 0x57b022 to 0x57b05a (56 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x57b05e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:49 +0000\n// \n\nint __fastcall CustomSongLayer::musicBrowserClosed(int this, MusicBrowser *a2)\n{\n  int v2; // r4\n  CustomSongWidget *v3; // r5\n  __int64 v4; // r0\n  SongInfoObject *v5; // r1\n\n  v2 = this;\n  if ( *((_BYTE *)a2 + 629) )\n  {\n    (***(void (__fastcall ****)(_DWORD, _DWORD))(this + 528))(*(_DWORD *)(this + 528), *((_DWORD *)a2 + 155));\n    v3 = *(CustomSongWidget **)(v2 + 536);\n    v4 = ((__int64 (__fastcall *)(_DWORD))*(_DWORD *)(**(_DWORD **)(v2 + 528) + 4))(*(_DWORD *)(v2 + 528));\n    v5 = SongInfoObject::create((SongInfoObject *)v4, SHIDWORD(v4));\n    return CustomSongWidget::updateSongObject(v3, v5);\n  }\n  return this;\n}", "assembly": "; \n; CustomSongLayer::musicBrowserClosed from 0x57b022 to 0x57b05a (56 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x57b05e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:49 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x57b022\nMOV             R4, R0                                                 ; +0x2, 0x57b024\nLDRB.W          R3, [R1,#0x275]                                        ; +0x4, 0x57b026\nCBZ             R3, locret_57B058                                      ; +0x8, 0x57b02a\nLDR.W           R0, [R0,#0x210]                                        ; +0xa, 0x57b02c\nLDR.W           R1, [R1,#0x26C]                                        ; +0xe, 0x57b030\nLDR             R3, [R0]                                               ; +0x12, 0x57b034\nLDR             R3, [R3]                                               ; +0x14, 0x57b036\nBLX             R3                                                     ; +0x16, 0x57b038\nLDR.W           R0, [R4,#0x210]                                        ; +0x18, 0x57b03a\nLDR.W           R5, [R4,#0x218]                                        ; +0x1c, 0x57b03e\nLDR             R3, [R0]                                               ; +0x20, 0x57b042\nLDR             R3, [R3,#4]                                            ; +0x22, 0x57b044\nBLX             R3                                                     ; +0x24, 0x57b046\nBL              _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x26, 0x57b048\nMOV             R1, R0; SongInfoObject *                               ; +0x2a, 0x57b04c\nMOV             R0, R5; this                                           ; +0x2c, 0x57b04e\nPOP.W           {R3-R5,LR}                                             ; +0x2e, 0x57b050\nB.W             _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x32, 0x57b054\nPOP             {R3-R5,PC}                                             ; +0x36, 0x57b058", "xrefs": ["`non-virtual thunk to'CustomSongLayer::musicBrowserClosed @ 0x57b05e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}