{"type": "func", "start": 5121400, "end": 5121450, "name": "CustomSongWidget::toggleUpdateButton", "pseudocode": "// \n// CustomSongWidget::toggleUpdateButton from 0x4e2578 to 0x4e25aa (50 bytes)\n// \n// 2 xrefs:\n// > CustomSongWidget::onGetSongInfo @ 0x4e25f2\n// > CustomSongWidget::updateSongInfo @ 0x4e3a64\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:02 +0000\n// \n\nint __fastcall CustomSongWidget::toggleUpdateButton(CustomSongWidget *this, int a2)\n{\n  int v3; // r0\n  void *v5; // r1\n\n  v3 = *((_DWORD *)this + 77);\n  if ( a2 )\n    v5 = &unk_BEC5F0;\n  else\n    v5 = &unk_BEC5F3;\n  (*(void (__fastcall **)(int, void *))(*(_DWORD *)v3 + 480))(v3, v5);\n  return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 77) + 528))(*((_DWORD *)this + 77), a2);\n}", "assembly": "; \n; CustomSongWidget::toggleUpdateButton from 0x4e2578 to 0x4e25aa (50 bytes)\n; \n; 2 xrefs:\n; > CustomSongWidget::onGetSongInfo @ 0x4e25f2\n; > CustomSongWidget::updateSongInfo @ 0x4e3a64\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:02 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4e2578\nMOV             R5, R0                                                 ; +0x2, 0x4e257a\nLDR.W           R0, [R0,#0x134]                                        ; +0x4, 0x4e257c\nMOV             R4, R1                                                 ; +0x8, 0x4e2580\nLDR             R3, [R0]                                               ; +0xa, 0x4e2582\nLDR.W           R3, [R3,#0x1E0]                                        ; +0xc, 0x4e2584\nCBNZ            R1, loc_4E2592                                         ; +0x10, 0x4e2588\nLDR             R1, =(unk_BEC5F0 - 0x4E2590)                           ; +0x12, 0x4e258a\nADD             R1, PC; unk_BEC5F0                                     ; +0x14, 0x4e258c\nADDS            R1, #(unk_BEC5F3 - 0xBEC5F0)                           ; +0x16, 0x4e258e\nB               loc_4E2596                                             ; +0x18, 0x4e2590\nLDR             R1, =(unk_BEC5F0 - 0x4E2598)                           ; +0x1a, 0x4e2592\nADD             R1, PC; unk_BEC5F0                                     ; +0x1c, 0x4e2594\nBLX             R3                                                     ; +0x1e, 0x4e2596\nLDR.W           R0, [R5,#0x134]                                        ; +0x20, 0x4e2598\nMOV             R1, R4                                                 ; +0x24, 0x4e259c\nPOP.W           {R4-R6,LR}                                             ; +0x26, 0x4e259e\nLDR             R3, [R0]                                               ; +0x2a, 0x4e25a2\nLDR.W           R3, [R3,#0x210]                                        ; +0x2c, 0x4e25a4\nBX              R3                                                     ; +0x30, 0x4e25a8", "xrefs": ["CustomSongWidget::onGetSongInfo @ 0x4e25f2", "CustomSongWidget::updateSongInfo @ 0x4e3a64"], "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"}