{"type": "func", "start": 5371498992, "end": 5371499211, "name": "SetupRotateCommandPopup::updateControlVisibility", "pseudocode": "// \n// SetupRotateCommandPopup::updateControlVisibility from 0x1402a91f0 to 0x1402a92cb (219 bytes)\n// \n// 4 xrefs:\n// > SetupRotateCommandPopup::init @ 0x1402a8eba\n// > SetupRotateCommandPopup::valueDidChange @ 0x1402a901f\n// > SetupRotateCommandPopup::valueDidChange @ 0x1402a9171\n// > <???> @ 0x1406d21bc\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 SetupRotateCommandPopup::updateControlVisibility(SetupRotateCommandPopup *a1)\n{\n  bool v2; // di\n  bool v3; // di\n\n  v2 = a1->getValue(a1, 100) != 0.0 || a1->getValue(a1, 394) != 0.0;\n  a1->toggleGroup(a1, 9002, v2);\n  a1->toggleGroup(a1, 9001, !v2);\n  v3 = a1->getValue(a1, 397) != 0.0 && v2;\n  a1->toggleGroup(a1, 9003, !v3);\n  a1->toggleGroup(a1, 9004, v3);\n}", "assembly": "; \n; SetupRotateCommandPopup::updateControlVisibility from 0x1402a91f0 to 0x1402a92cb (219 bytes)\n; \n; 4 xrefs:\n; > SetupRotateCommandPopup::init @ 0x1402a8eba\n; > SetupRotateCommandPopup::valueDidChange @ 0x1402a901f\n; > SetupRotateCommandPopup::valueDidChange @ 0x1402a9171\n; > <???> @ 0x1406d21bc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402a91f0\npush    rdi                                                            ; +0x5, 0x1402a91f5\nsub     rsp, 30h                                                       ; +0x6, 0x1402a91f6\nmov     rax, [rcx]                                                     ; +0xa, 0x1402a91fa\nmov     edx, 64h ; 'd'                                                 ; +0xd, 0x1402a91fd\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x12, 0x1402a9202\nmov     rbx, rcx                                                       ; +0x17, 0x1402a9207\ncall    qword ptr [rax+470h]                                           ; +0x1a, 0x1402a920a\nxorps   xmm6, xmm6                                                     ; +0x20, 0x1402a9210\nucomiss xmm0, xmm6                                                     ; +0x23, 0x1402a9213\njp      short loc_1402A9237                                            ; +0x26, 0x1402a9216\njnz     short loc_1402A9237                                            ; +0x28, 0x1402a9218\nmov     rax, [rbx]                                                     ; +0x2a, 0x1402a921a\nmov     edx, 18Ah                                                      ; +0x2d, 0x1402a921d\nmov     rcx, rbx                                                       ; +0x32, 0x1402a9222\ncall    qword ptr [rax+470h]                                           ; +0x35, 0x1402a9225\nucomiss xmm0, xmm6                                                     ; +0x3b, 0x1402a922b\njp      short loc_1402A9237                                            ; +0x3e, 0x1402a922e\njnz     short loc_1402A9237                                            ; +0x40, 0x1402a9230\nxor     dil, dil                                                       ; +0x42, 0x1402a9232\njmp     short loc_1402A923A                                            ; +0x45, 0x1402a9235\nmov     dil, 1                                                         ; +0x47, 0x1402a9237\nmov     rax, [rbx]                                                     ; +0x4a, 0x1402a923a\nmovzx   r8d, dil                                                       ; +0x4d, 0x1402a923d\nmov     edx, 232Ah                                                     ; +0x51, 0x1402a9241\nmov     rcx, rbx                                                       ; +0x56, 0x1402a9246\ncall    qword ptr [rax+420h]                                           ; +0x59, 0x1402a9249\nmov     rax, [rbx]                                                     ; +0x5f, 0x1402a924f\nmovzx   r8d, dil                                                       ; +0x62, 0x1402a9252\nxor     r8b, 1                                                         ; +0x66, 0x1402a9256\nmov     edx, 2329h                                                     ; +0x6a, 0x1402a925a\nmov     rcx, rbx                                                       ; +0x6f, 0x1402a925f\ncall    qword ptr [rax+420h]                                           ; +0x72, 0x1402a9262\nmov     rax, [rbx]                                                     ; +0x78, 0x1402a9268\nmov     edx, 18Dh                                                      ; +0x7b, 0x1402a926b\nmov     rcx, rbx                                                       ; +0x80, 0x1402a9270\ncall    qword ptr [rax+470h]                                           ; +0x83, 0x1402a9273\nucomiss xmm0, xmm6                                                     ; +0x89, 0x1402a9279\njp      short loc_1402A9280                                            ; +0x8c, 0x1402a927c\njz      short loc_1402A928A                                            ; +0x8e, 0x1402a927e\ntest    dil, dil                                                       ; +0x90, 0x1402a9280\njz      short loc_1402A928A                                            ; +0x93, 0x1402a9283\nmov     dil, 1                                                         ; +0x95, 0x1402a9285\njmp     short loc_1402A928D                                            ; +0x98, 0x1402a9288\nxor     dil, dil                                                       ; +0x9a, 0x1402a928a\nmov     rax, [rbx]                                                     ; +0x9d, 0x1402a928d\nmovzx   r8d, dil                                                       ; +0xa0, 0x1402a9290\nxor     r8b, 1                                                         ; +0xa4, 0x1402a9294\nmov     edx, 232Bh                                                     ; +0xa8, 0x1402a9298\nmov     rcx, rbx                                                       ; +0xad, 0x1402a929d\ncall    qword ptr [rax+420h]                                           ; +0xb0, 0x1402a92a0\nmov     rax, [rbx]                                                     ; +0xb6, 0x1402a92a6\nmovzx   r8d, dil                                                       ; +0xb9, 0x1402a92a9\nmov     edx, 232Ch                                                     ; +0xbd, 0x1402a92ad\nmov     rcx, rbx                                                       ; +0xc2, 0x1402a92b2\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc5, 0x1402a92b5\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xca, 0x1402a92ba\nadd     rsp, 30h                                                       ; +0xcf, 0x1402a92bf\npop     rdi                                                            ; +0xd3, 0x1402a92c3\njmp     qword ptr [rax+420h]                                           ; +0xd4, 0x1402a92c4", "xrefs": ["SetupRotateCommandPopup::init @ 0x1402a8eba", "SetupRotateCommandPopup::valueDidChange @ 0x1402a901f", "SetupRotateCommandPopup::valueDidChange @ 0x1402a9171", "<???> @ 0x1406d21bc"], "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"}