{"type": "func", "start": 9050100, "end": 9050200, "name": "GJColorSetupLayer::onClose", "pseudocode": "// \n// GJColorSetupLayer::onClose from 0x8a17f4 to 0x8a1858 (100 bytes)\n// \n// 5 xrefs:\n// > GJColorSetupLayer::keyBackClicked @ 0x8a185c\n// > GJColorSetupLayer::onColor @ 0x8a19bc\n// > <???> @ 0x43f80\n// > GJColorSetupLayer::init @ 0x8a2248\n// > <???> @ 0x122a298\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::onClose(GJColorSetupLayer *a1, cocos2d::CCObject *a2)\n{\n  ColorSetupDelegate *m_delegate; // x0\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate && a1->m_colorID > 0 )\n    ((void (__fastcall *)(ColorSetupDelegate *))m_delegate->colorSetupClosed)(m_delegate);\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; GJColorSetupLayer::onClose from 0x8a17f4 to 0x8a1858 (100 bytes)\n; \n; 5 xrefs:\n; > GJColorSetupLayer::keyBackClicked @ 0x8a185c\n; > GJColorSetupLayer::onColor @ 0x8a19bc\n; > <???> @ 0x43f80\n; > GJColorSetupLayer::init @ 0x8a2248\n; > <???> @ 0x122a298\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,#var_20]!                                ; +0x0, 0x8a17f4\nMOV             X29, SP                                                ; +0x4, 0x8a17f8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x8a17fc\nMOV             X19, X0                                                ; +0xc, 0x8a1800\nLDR             X0, [X0,#0x2D8]                                        ; +0x10, 0x8a1804\nCBZ             X0, loc_8A1824                                         ; +0x14, 0x8a1808\nLDR             W1, [X19,#0x2E0]                                       ; +0x18, 0x8a180c\nCMP             W1, WZR                                                ; +0x1c, 0x8a1810\nB.LE            loc_8A1824                                             ; +0x20, 0x8a1814\nLDR             X2, [X0]                                               ; +0x24, 0x8a1818\nLDR             X2, [X2]                                               ; +0x28, 0x8a181c\nBLR             X2                                                     ; +0x2c, 0x8a1820\nLDR             X2, [X19]                                              ; +0x30, 0x8a1824\nMOV             X0, X19                                                ; +0x34, 0x8a1828\nMOV             W1, #0                                                 ; +0x38, 0x8a182c\nLDR             X2, [X2,#0x420]                                        ; +0x3c, 0x8a1830\nBLR             X2                                                     ; +0x40, 0x8a1834\nLDR             X2, [X19]                                              ; +0x44, 0x8a1838\nMOV             X0, X19                                                ; +0x48, 0x8a183c\nMOV             W1, #1                                                 ; +0x4c, 0x8a1840\nLDR             X2, [X2,#0x200]                                        ; +0x50, 0x8a1844\nBLR             X2                                                     ; +0x54, 0x8a1848\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0x8a184c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0x8a1850\nRET                                                                    ; +0x60, 0x8a1854", "xrefs": ["GJColorSetupLayer::keyBackClicked @ 0x8a185c", "GJColorSetupLayer::onColor @ 0x8a19bc", "<???> @ 0x43f80", "GJColorSetupLayer::init @ 0x8a2248", "<???> @ 0x122a298"], "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"}