{"type": "func", "start": 5373199568, "end": 5373199666, "name": "SetupSFXPopup::pageChanged", "pseudocode": "// \n// SetupSFXPopup::pageChanged from 0x1404484d0 to 0x140448532 (98 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405ef780\n// > <???> @ 0x1406da64c\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 SetupSFXPopup::pageChanged(SetupSFXPopup *a1)\n{\n  _BOOL8 v2; // rdx\n  CustomSFXWidget *m_sfxWidget; // rcx\n  int m_page; // eax\n\n  SetupTriggerPopup::updateValue(a1, 427, (float)a1->m_page);\n  m_sfxWidget = a1->m_sfxWidget;\n  if ( m_sfxWidget )\n  {\n    m_page = a1->m_page;\n    if ( m_page < 2 || m_page == 4 )\n    {\n      LOBYTE(v2) = 1;\n      m_sfxWidget->setVisible(m_sfxWidget, v2);\n    }\n    else\n    {\n      m_sfxWidget->setVisible(m_sfxWidget, 0);\n    }\n  }\n}", "assembly": "; \n; SetupSFXPopup::pageChanged from 0x1404484d0 to 0x140448532 (98 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405ef780\n; > <???> @ 0x1406da64c\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    rbx                                                            ; +0x0, 0x1404484d0\nsub     rsp, 20h                                                       ; +0x2, 0x1404484d2\nmovd    xmm2, dword ptr [rcx+358h]                                     ; +0x6, 0x1404484d6\nmov     edx, 1ABh                                                      ; +0xe, 0x1404484de\ncvtdq2ps xmm2, xmm2                                                    ; +0x13, 0x1404484e3\nmov     rbx, rcx                                                       ; +0x16, 0x1404484e6\ncall    SetupTriggerPopup__updateValue                                 ; +0x19, 0x1404484e9\nmov     rcx, [rbx+3C8h]                                                ; +0x1e, 0x1404484ee\ntest    rcx, rcx                                                       ; +0x25, 0x1404484f5\njz      short loc_14044852C                                            ; +0x28, 0x1404484f8\nmov     eax, [rbx+358h]                                                ; +0x2a, 0x1404484fa\ncmp     eax, 2                                                         ; +0x30, 0x140448500\njl      short loc_14044851B                                            ; +0x33, 0x140448503\ncmp     eax, 4                                                         ; +0x35, 0x140448505\njz      short loc_14044851B                                            ; +0x38, 0x140448508\nmov     rax, [rcx]                                                     ; +0x3a, 0x14044850a\nxor     edx, edx                                                       ; +0x3d, 0x14044850d\nadd     rsp, 20h                                                       ; +0x3f, 0x14044850f\npop     rbx                                                            ; +0x43, 0x140448513\njmp     qword ptr [rax+140h]                                           ; +0x44, 0x140448514\nmov     rax, [rcx]                                                     ; +0x4b, 0x14044851b\nmov     dl, 1                                                          ; +0x4e, 0x14044851e\nadd     rsp, 20h                                                       ; +0x50, 0x140448520\npop     rbx                                                            ; +0x54, 0x140448524\njmp     qword ptr [rax+140h]                                           ; +0x55, 0x140448525\nadd     rsp, 20h                                                       ; +0x5c, 0x14044852c\npop     rbx                                                            ; +0x60, 0x140448530\nretn                                                                   ; +0x61, 0x140448531", "xrefs": ["<???> @ 0x1405ef780", "<???> @ 0x1406da64c"], "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"}