{"type": "func", "start": 5371630992, "end": 5371631097, "name": "GridSettingsLayer::onCycleUp", "pseudocode": "// \n// GridSettingsLayer::onCycleUp from 0x1402c9590 to 0x1402c95f9 (105 bytes)\n// \n// 2 xrefs:\n// > GridSettingsLayer::onBuildWindowContent @ 0x1402c9312\n// > <???> @ 0x14091dc60\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:29:23 +0000\n// \n\nvoid __fastcall GridSettingsLayer::onCycleUp(_QWORD *a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // rcx\n\n  v4 = a1[125];\n  if ( v4 )\n  {\n    EditorUI::cycleCustomGridPreset(v4, 1, a3);\n    if ( a1[125] )\n    {\n      SetupTriggerPopup::updateValueControls(a1, 4294967294LL);\n      (*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1152LL))(\n        a1,\n        0xFFFFFFFFLL,\n        *(unsigned __int8 *)(a1[125] + 704LL));\n    }\n  }\n}", "assembly": "; \n; GridSettingsLayer::onCycleUp from 0x1402c9590 to 0x1402c95f9 (105 bytes)\n; \n; 2 xrefs:\n; > GridSettingsLayer::onBuildWindowContent @ 0x1402c9312\n; > <???> @ 0x14091dc60\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:29:23 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402c9590\nsub     rsp, 20h                                                       ; +0x2, 0x1402c9592\nmov     rbx, rcx                                                       ; +0x6, 0x1402c9596\nmov     rcx, [rcx+3E8h]                                                ; +0x9, 0x1402c9599\ntest    rcx, rcx                                                       ; +0x10, 0x1402c95a0\njz      short loc_1402C95F3                                            ; +0x13, 0x1402c95a3\nmov     dl, 1                                                          ; +0x15, 0x1402c95a5\ncall    EditorUI__cycleCustomGridPreset                                ; +0x17, 0x1402c95a7\nmov     rax, [rbx+3E8h]                                                ; +0x1c, 0x1402c95ac\ntest    rax, rax                                                       ; +0x23, 0x1402c95b3\njz      short loc_1402C95F3                                            ; +0x26, 0x1402c95b6\nmovss   xmm2, dword ptr [rax+2BCh]                                     ; +0x28, 0x1402c95b8\nmov     edx, 0FFFFFFFEh                                                ; +0x30, 0x1402c95c0\nmov     rcx, rbx                                                       ; +0x35, 0x1402c95c5\ncall    SetupTriggerPopup__updateValueControls                         ; +0x38, 0x1402c95c8\nmov     r8, [rbx+3E8h]                                                 ; +0x3d, 0x1402c95cd\nmov     edx, 0FFFFFFFFh                                                ; +0x44, 0x1402c95d4\nmov     rax, [rbx]                                                     ; +0x49, 0x1402c95d9\nmov     rcx, rbx                                                       ; +0x4c, 0x1402c95dc\nmovzx   r8d, byte ptr [r8+2C0h]                                        ; +0x4f, 0x1402c95df\nadd     rsp, 20h                                                       ; +0x57, 0x1402c95e7\npop     rbx                                                            ; +0x5b, 0x1402c95eb\njmp     qword ptr [rax+480h]                                           ; +0x5c, 0x1402c95ec\nadd     rsp, 20h                                                       ; +0x63, 0x1402c95f3\npop     rbx                                                            ; +0x67, 0x1402c95f7\nretn                                                                   ; +0x68, 0x1402c95f8", "xrefs": ["GridSettingsLayer::onBuildWindowContent @ 0x1402c9312", "<???> @ 0x14091dc60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}