{"type": "func", "start": 4296733940, "end": 4296734032, "name": "GJSpecialColorSelect::onClose", "pseudocode": "// \n// GJSpecialColorSelect::onClose from 0x1001af4f4 to 0x1001af550 (92 bytes)\n// \n// 3 xrefs:\n// > GJSpecialColorSelect::keyBackClicked @ 0x1001af678\n// > sub_1001AF67C @ 0x1001af680\n// > GJSpecialColorSelect::init @ 0x1001aef50\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 GJSpecialColorSelect::onClose(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)\n{\n  GJSpecialColorSelectDelegate *m_delegate; // x0\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(GJSpecialColorSelectDelegate *, GJSpecialColorSelect *, _QWORD))m_delegate->colorSelectClosed)(\n      m_delegate,\n      a1,\n      (unsigned int)a1->m_colorID);\n  ((void (__fastcall *)(GJSpecialColorSelect *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJSpecialColorSelect *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJSpecialColorSelect::onClose from 0x1001af4f4 to 0x1001af550 (92 bytes)\n; \n; 3 xrefs:\n; > GJSpecialColorSelect::keyBackClicked @ 0x1001af678\n; > sub_1001AF67C @ 0x1001af680\n; > GJSpecialColorSelect::init @ 0x1001aef50\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001af4f4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001af4f8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001af4fc\nMOV             X19, X0                                                ; +0xc, 0x1001af500\nLDR             X0, [X0,#0x278]                                        ; +0x10, 0x1001af504\nCBZ             X0, loc_1001AF520                                      ; +0x14, 0x1001af508\nLDR             W2, [X19,#0x280]                                       ; +0x18, 0x1001af50c\nLDR             X8, [X0]                                               ; +0x1c, 0x1001af510\nLDR             X8, [X8]                                               ; +0x20, 0x1001af514\nMOV             X1, X19                                                ; +0x24, 0x1001af518\nBLR             X8                                                     ; +0x28, 0x1001af51c\nLDR             X8, [X19]                                              ; +0x2c, 0x1001af520\nLDR             X8, [X8,#0x420]                                        ; +0x30, 0x1001af524\nMOV             X0, X19                                                ; +0x34, 0x1001af528\nMOV             W1, #0                                                 ; +0x38, 0x1001af52c\nBLR             X8                                                     ; +0x3c, 0x1001af530\nLDR             X8, [X19]                                              ; +0x40, 0x1001af534\nLDR             X2, [X8,#0x200]                                        ; +0x44, 0x1001af538\nMOV             X0, X19                                                ; +0x48, 0x1001af53c\nMOV             W1, #1                                                 ; +0x4c, 0x1001af540\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x1001af544\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x1001af548\nBR              X2                                                     ; +0x58, 0x1001af54c", "xrefs": ["GJSpecialColorSelect::keyBackClicked @ 0x1001af678", "sub_1001AF67C @ 0x1001af680", "GJSpecialColorSelect::init @ 0x1001aef50"], "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"}