{"type": "func", "start": 8836524, "end": 8836556, "name": "CustomSongWidget::musicActionFinished", "pseudocode": "// \n// CustomSongWidget::musicActionFinished from 0x86d5ac to 0x86d5cc (32 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x86d5d0\n// > <???> @ 0x103b70\n// > <???> @ 0x1442eb8\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 12:55:44 +0000\n// \n\nCustomSongWidget *__fastcall CustomSongWidget::musicActionFinished(CustomSongWidget *result, int a2)\n{\n  if ( a2 == 2 )\n  {\n    if ( *((_BYTE *)result + 528) )\n    {\n      *((_BYTE *)result + 528) = 0;\n      return (CustomSongWidget *)CustomSongWidget::onDownload(result, nullptr);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::musicActionFinished from 0x86d5ac to 0x86d5cc (32 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x86d5d0\n; > <???> @ 0x103b70\n; > <???> @ 0x1442eb8\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 12:55:44 +0000\n; \nCMP             W1, #2                                                 ; +0x0, 0x86d5ac\nB.EQ            loc_86D5B8                                             ; +0x4, 0x86d5b0\nRET                                                                    ; +0x8, 0x86d5b4\nLDRB            W2, [X0,#0x210]                                        ; +0xc, 0x86d5b8\nCBZ             W2, locret_86D5B4                                      ; +0x10, 0x86d5bc\nSTRB            WZR, [X0,#0x210]                                       ; +0x14, 0x86d5c0\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x18, 0x86d5c4\nB               _ZN16CustomSongWidget10onDownloadEPN7cocos2d8CCObjectE; CustomSongWidget::onDownload(cocos2d::CCObject *) ; +0x1c, 0x86d5c8", "xrefs": ["`non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x86d5d0", "<???> @ 0x103b70", "<???> @ 0x1442eb8"], "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"}