{"type": "func", "start": 9051036, "end": 9051144, "name": "GJColorSetupLayer::showPage", "pseudocode": "// \n// GJColorSetupLayer::showPage from 0x8a1b9c to 0x8a1c08 (108 bytes)\n// \n// 3 xrefs:\n// > GJColorSetupLayer::init @ 0x8a22c0\n// > GJColorSetupLayer::onPage @ 0x8a24a0\n// > <???> @ 0x40e60\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  a1->m_prevButton->setVisible(a1->m_prevButton, a2 != 0);\n  a1->m_nextButton->setVisible(a1->m_nextButton, a1->m_totalPages - 1 != a2);\n  a1->m_settingsObject->m_colorPage = a2;\n  GJColorSetupLayer::updateSpriteColors(a1);\n}", "assembly": "; \n; GJColorSetupLayer::showPage from 0x8a1b9c to 0x8a1c08 (108 bytes)\n; \n; 3 xrefs:\n; > GJColorSetupLayer::init @ 0x8a22c0\n; > GJColorSetupLayer::onPage @ 0x8a24a0\n; > <???> @ 0x40e60\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x8a1b9c\nCMP             W1, WZR                                                ; +0x4, 0x8a1ba0\nMOV             X29, SP                                                ; +0x8, 0x8a1ba4\nLDR             X2, [X0,#0x2C0]                                        ; +0xc, 0x8a1ba8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x10, 0x8a1bac\nMOV             X19, X0                                                ; +0x14, 0x8a1bb0\nMOV             X0, X2                                                 ; +0x18, 0x8a1bb4\nLDR             X2, [X2]                                               ; +0x1c, 0x8a1bb8\nMOV             W20, W1                                                ; +0x20, 0x8a1bbc\nCSET            W1, NE                                                 ; +0x24, 0x8a1bc0\nLDR             X2, [X2,#0x148]                                        ; +0x28, 0x8a1bc4\nBLR             X2                                                     ; +0x2c, 0x8a1bc8\nLDR             X2, [X19,#0x2C8]                                       ; +0x30, 0x8a1bcc\nLDR             W1, [X19,#0x2B8]                                       ; +0x34, 0x8a1bd0\nMOV             X0, X2                                                 ; +0x38, 0x8a1bd4\nLDR             X2, [X2]                                               ; +0x3c, 0x8a1bd8\nSUB             W1, W1, #1                                             ; +0x40, 0x8a1bdc\nCMP             W1, W20                                                ; +0x44, 0x8a1be0\nCSET            W1, NE                                                 ; +0x48, 0x8a1be4\nLDR             X2, [X2,#0x148]                                        ; +0x4c, 0x8a1be8\nBLR             X2                                                     ; +0x50, 0x8a1bec\nLDR             X1, [X19,#0x288]                                       ; +0x54, 0x8a1bf0\nMOV             X0, X19; this                                          ; +0x58, 0x8a1bf4\nSTR             W20, [X1,#0x194]                                       ; +0x5c, 0x8a1bf8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x60, 0x8a1bfc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x64, 0x8a1c00\nB               _ZN17GJColorSetupLayer18updateSpriteColorsEv; GJColorSetupLayer::updateSpriteColors(void) ; +0x68, 0x8a1c04", "xrefs": ["GJColorSetupLayer::init @ 0x8a22c0", "GJColorSetupLayer::onPage @ 0x8a24a0", "<???> @ 0x40e60"], "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"}