{"type": "func", "start": 4296816480, "end": 4296816576, "name": "CustomSongLayer::musicBrowserClosed", "pseudocode": "// \n// CustomSongLayer::musicBrowserClosed from 0x1001c3760 to 0x1001c37c0 (96 bytes)\n// \n// 2 xrefs:\n// > sub_1001C37C0 @ 0x1001c37c4\n// > <???> @ 0x1008e9fa8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:00:16 +0000\n// \n\n__int64 __fastcall CustomSongLayer::musicBrowserClosed(__int64 result, __int64 a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x20\n  __int64 v4; // x0\n  __int64 v5; // x0\n\n  if ( *(_BYTE *)(a2 + 873) == 1 )\n  {\n    v2 = result;\n    (***(void (__fastcall ****)(_QWORD, _QWORD))(result + 680))(*(_QWORD *)(result + 680), *(unsigned int *)(a2 + 864));\n    v3 = *(_QWORD *)(v2 + 696);\n    v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 680) + 8LL))(*(_QWORD *)(v2 + 680));\n    v5 = SongInfoObject::create_1(v4);\n    return CustomSongWidget::updateSongObject(v3, v5);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongLayer::musicBrowserClosed from 0x1001c3760 to 0x1001c37c0 (96 bytes)\n; \n; 2 xrefs:\n; > sub_1001C37C0 @ 0x1001c37c4\n; > <???> @ 0x1008e9fa8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:00:16 +0000\n; \nLDRB            W8, [X1,#0x369]                                        ; +0x0, 0x1001c3760\nCMP             W8, #1                                                 ; +0x4, 0x1001c3764\nB.NE            locret_1001C37BC                                       ; +0x8, 0x1001c3768\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x1001c376c\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x1001c3770\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x1001c3774\nMOV             X19, X0                                                ; +0x18, 0x1001c3778\nLDR             X0, [X0,#0x2A8]                                        ; +0x1c, 0x1001c377c\nLDR             W1, [X1,#0x360]                                        ; +0x20, 0x1001c3780\nLDR             X8, [X0]                                               ; +0x24, 0x1001c3784\nLDR             X8, [X8]                                               ; +0x28, 0x1001c3788\nBLR             X8                                                     ; +0x2c, 0x1001c378c\nLDR             X20, [X19,#0x2B8]                                      ; +0x30, 0x1001c3790\nLDR             X0, [X19,#0x2A8]                                       ; +0x34, 0x1001c3794\nLDR             X8, [X0]                                               ; +0x38, 0x1001c3798\nLDR             X8, [X8,#8]                                            ; +0x3c, 0x1001c379c\nBLR             X8                                                     ; +0x40, 0x1001c37a0\nBL              SongInfoObject__create_1                               ; +0x44, 0x1001c37a4\nMOV             X1, X0                                                 ; +0x48, 0x1001c37a8\nMOV             X0, X20                                                ; +0x4c, 0x1001c37ac\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x50, 0x1001c37b0\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x54, 0x1001c37b4\nB               CustomSongWidget__updateSongObject                     ; +0x58, 0x1001c37b8\nRET                                                                    ; +0x5c, 0x1001c37bc", "xrefs": ["sub_1001C37C0 @ 0x1001c37c4", "<???> @ 0x1008e9fa8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}