{"type": "func", "start": 4301385104, "end": 4301385177, "name": "CustomSongWidget::toggleUpdateButton", "pseudocode": "// \n// CustomSongWidget::toggleUpdateButton from 0x10061ed90 to 0x10061edd9 (73 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CustomSongWidget::toggleUpdateButton(CustomSongWidget *a1, bool a2)\n{\n  _BOOL4 v2; // ebx\n  CCMenuItemSpriteExtra *m_getSongInfoBtn; // rdi\n  void *v5; // rsi\n\n  v2 = a2;\n  m_getSongInfoBtn = a1->m_getSongInfoBtn;\n  v5 = &unk_100822622;\n  if ( v2 )\n    v5 = &unk_10082261F;\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, void *))m_getSongInfoBtn->setColor)(m_getSongInfoBtn, v5);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_getSongInfoBtn->setEnabled)(a1->m_getSongInfoBtn, v2);\n}", "assembly": "; \n; CustomSongWidget::toggleUpdateButton from 0x10061ed90 to 0x10061edd9 (73 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10061ed90\nmov     rbp, rsp                                                       ; +0x1, 0x10061ed91\npush    r14                                                            ; +0x4, 0x10061ed94\npush    rbx                                                            ; +0x6, 0x10061ed96\nmov     ebx, esi                                                       ; +0x7, 0x10061ed97\nmov     r14, rdi                                                       ; +0x9, 0x10061ed99\nmov     rdi, [rdi+198h]                                                ; +0xc, 0x10061ed9c\nlea     rax, unk_10082261F                                             ; +0x13, 0x10061eda3\nlea     rsi, unk_100822622                                             ; +0x1a, 0x10061edaa\ntest    ebx, ebx                                                       ; +0x21, 0x10061edb1\ncmovnz  rsi, rax                                                       ; +0x23, 0x10061edb3\nmov     rax, [rdi]                                                     ; +0x27, 0x10061edb7\ncall    qword ptr [rax+3B0h]                                           ; +0x2a, 0x10061edba\nmov     rdi, [r14+198h]                                                ; +0x30, 0x10061edc0\nmov     rax, [rdi]                                                     ; +0x37, 0x10061edc7\nmov     rax, [rax+410h]                                                ; +0x3a, 0x10061edca\nmov     esi, ebx                                                       ; +0x41, 0x10061edd1\npop     rbx                                                            ; +0x43, 0x10061edd3\npop     r14                                                            ; +0x44, 0x10061edd4\npop     rbp                                                            ; +0x46, 0x10061edd6\njmp     rax                                                            ; +0x47, 0x10061edd7", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}