{"type": "func", "start": 5371161776, "end": 5371161873, "name": "GJColorSetupLayer::showPage", "pseudocode": "// \n// GJColorSetupLayer::showPage from 0x140256cb0 to 0x140256d11 (97 bytes)\n// \n// 2 xrefs:\n// > GJColorSetupLayer::onPage @ 0x140256bc8\n// > <???> @ 0x1406cf9a8\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 GJColorSetupLayer::showPage(GJColorSetupLayer *a1, int a2)\n{\n  int v3; // ebx\n  _BOOL8 v4; // rdx\n\n  v3 = a2;\n  LOBYTE(a2) = a2 != 0;\n  a1->m_prevButton->setVisible(a1->m_prevButton, a2);\n  LOBYTE(v4) = v3 != a1->m_totalPages - 1;\n  a1->m_nextButton->setVisible(a1->m_nextButton, v4);\n  a1->m_settingsObject->m_colorPage = v3;\n  GJColorSetupLayer::updateSpriteColors(a1);\n}", "assembly": "; \n; GJColorSetupLayer::showPage from 0x140256cb0 to 0x140256d11 (97 bytes)\n; \n; 2 xrefs:\n; > GJColorSetupLayer::onPage @ 0x140256bc8\n; > <???> @ 0x1406cf9a8\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, 0x140256cb0\npush    rdi                                                            ; +0x5, 0x140256cb5\nsub     rsp, 20h                                                       ; +0x6, 0x140256cb6\nmov     rdi, rcx                                                       ; +0xa, 0x140256cba\ntest    edx, edx                                                       ; +0xd, 0x140256cbd\nmov     rcx, [rcx+2C0h]                                                ; +0xf, 0x140256cbf\nmov     ebx, edx                                                       ; +0x16, 0x140256cc6\nsetnz   dl                                                             ; +0x18, 0x140256cc8\nmov     rax, [rcx]                                                     ; +0x1b, 0x140256ccb\ncall    qword ptr [rax+140h]                                           ; +0x1e, 0x140256cce\nmov     rcx, [rdi+2C8h]                                                ; +0x24, 0x140256cd4\nmov     eax, [rdi+2B8h]                                                ; +0x2b, 0x140256cdb\ndec     eax                                                            ; +0x31, 0x140256ce1\ncmp     ebx, eax                                                       ; +0x33, 0x140256ce3\nmov     r8, [rcx]                                                      ; +0x35, 0x140256ce5\nsetnz   dl                                                             ; +0x38, 0x140256ce8\ncall    qword ptr [r8+140h]                                            ; +0x3b, 0x140256ceb\nmov     rax, [rdi+288h]                                                ; +0x42, 0x140256cf2\nmov     rcx, rdi                                                       ; +0x49, 0x140256cf9\nmov     [rax+1ACh], ebx                                                ; +0x4c, 0x140256cfc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x140256d02\nadd     rsp, 20h                                                       ; +0x57, 0x140256d07\npop     rdi                                                            ; +0x5b, 0x140256d0b\njmp     GJColorSetupLayer__updateSpriteColors                          ; +0x5c, 0x140256d0c", "xrefs": ["GJColorSetupLayer::onPage @ 0x140256bc8", "<???> @ 0x1406cf9a8"], "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"}