{"type": "func", "start": 5135476, "end": 5135498, "name": "CustomSongWidget::musicActionFinished", "pseudocode": "// \n// CustomSongWidget::musicActionFinished from 0x4e5c74 to 0x4e5c8a (22 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x4e5c8e\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:51:05 +0000\n// \n\nunsigned __int8 *__fastcall CustomSongWidget::musicActionFinished(unsigned __int8 *result, int a2, int a3, int a4)\n{\n  int v4; // r2\n\n  if ( a2 == 2 )\n  {\n    v4 = result[376];\n    if ( result[376] )\n    {\n      result[376] = 0;\n      return (unsigned __int8 *)CustomSongWidget::onDownload((CustomSongWidget *)result, nullptr, v4, a4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::musicActionFinished from 0x4e5c74 to 0x4e5c8a (22 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x4e5c8e\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:51:05 +0000\n; \nCMP             R1, #2                                                 ; +0x0, 0x4e5c74\nBNE             locret_4E5C88                                          ; +0x2, 0x4e5c76\nLDRB.W          R2, [R0,#0x178]                                        ; +0x4, 0x4e5c78\nCBZ             R2, locret_4E5C88                                      ; +0x8, 0x4e5c7c\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0xa, 0x4e5c7e\nSTRB.W          R1, [R0,#0x178]                                        ; +0xc, 0x4e5c80\nB.W             _ZN16CustomSongWidget10onDownloadEPN7cocos2d8CCObjectE; CustomSongWidget::onDownload(cocos2d::CCObject *) ; +0x10, 0x4e5c84\nBX              LR                                                     ; +0x14, 0x4e5c88", "xrefs": ["`non-virtual thunk to'CustomSongWidget::musicActionFinished @ 0x4e5c8e"], "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"}