{"type": "func", "start": 4297113520, "end": 4297113617, "name": "GJColorSetupLayer::showPage", "pseudocode": "// \n// GJColorSetupLayer::showPage from 0x10020bfb0 to 0x10020c011 (97 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 GJColorSetupLayer::showPage(GJColorSetupLayer *a1, int a2)\n{\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_prevButton->setVisible)(a1->m_prevButton, a2 != 0);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_nextButton->setVisible)(\n    a1->m_nextButton,\n    a1->m_totalPages - 1 != a2);\n  a1->m_settingsObject->m_colorPage = a2;\n  GJColorSetupLayer::updateSpriteColors(a1);\n}", "assembly": "; \n; GJColorSetupLayer::showPage from 0x10020bfb0 to 0x10020c011 (97 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, 0x10020bfb0\nmov     rbp, rsp                                                       ; +0x1, 0x10020bfb1\npush    r14                                                            ; +0x4, 0x10020bfb4\npush    rbx                                                            ; +0x6, 0x10020bfb6\nmov     r14d, esi                                                      ; +0x7, 0x10020bfb7\nmov     rbx, rdi                                                       ; +0xa, 0x10020bfba\nmov     rdi, [rdi+2C0h]                                                ; +0xd, 0x10020bfbd\nxor     esi, esi                                                       ; +0x14, 0x10020bfc4\ntest    r14d, r14d                                                     ; +0x16, 0x10020bfc6\nsetnz   sil                                                            ; +0x19, 0x10020bfc9\nmov     rax, [rdi]                                                     ; +0x1d, 0x10020bfcd\ncall    qword ptr [rax+148h]                                           ; +0x20, 0x10020bfd0\nmov     rdi, [rbx+2C8h]                                                ; +0x26, 0x10020bfd6\nmov     eax, [rbx+2B8h]                                                ; +0x2d, 0x10020bfdd\ndec     eax                                                            ; +0x33, 0x10020bfe3\nxor     esi, esi                                                       ; +0x35, 0x10020bfe5\ncmp     eax, r14d                                                      ; +0x37, 0x10020bfe7\nsetnz   sil                                                            ; +0x3a, 0x10020bfea\nmov     rax, [rdi]                                                     ; +0x3e, 0x10020bfee\ncall    qword ptr [rax+148h]                                           ; +0x41, 0x10020bff1\nmov     rax, [rbx+288h]                                                ; +0x47, 0x10020bff7\nmov     [rax+1A4h], r14d                                               ; +0x4e, 0x10020bffe\nmov     rdi, rbx                                                       ; +0x55, 0x10020c005\npop     rbx                                                            ; +0x58, 0x10020c008\npop     r14                                                            ; +0x59, 0x10020c009\npop     rbp                                                            ; +0x5b, 0x10020c00b\njmp     GJColorSetupLayer__updateSpriteColors                          ; +0x5c, 0x10020c00c", "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"}