{"type": "func", "start": 8791488, "end": 8791588, "name": "ColorSelectPopup::onSelectSpecialColor", "pseudocode": "// \n// ColorSelectPopup::onSelectSpecialColor from 0x8625c0 to 0x862624 (100 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0xcafd8\n// > ColorSelectPopup::init @ 0x864db0\n// > ColorSelectPopup::init @ 0x8655b8\n// > <???> @ 0x1545f58\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:37 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::onSelectSpecialColor(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x19\n  cocos2d::CCObject *v4; // x0\n  __int64 (__fastcall *v5)(cocos2d::CCObject *); // x1\n  void (__fastcall *v6)(__int64, _QWORD); // x20\n  unsigned int v7; // w0\n\n  v3 = GJSpecialColorSelect::create(*((unsigned int *)this + 294), (char *)this + 1024, 1);\n  v4 = a2;\n  v5 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL);\n  v6 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 72LL);\n  v7 = v5(v4);\n  v6(v3, v7);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n}", "assembly": "; \n; ColorSelectPopup::onSelectSpecialColor from 0x8625c0 to 0x862624 (100 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0xcafd8\n; > ColorSelectPopup::init @ 0x864db0\n; > ColorSelectPopup::init @ 0x8655b8\n; > <???> @ 0x1545f58\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:37 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x8625c0\nMOV             W2, #1                                                 ; +0x4, 0x8625c4\nMOV             X29, SP                                                ; +0x8, 0x8625c8\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x8625cc\nMOV             X20, X1                                                ; +0x10, 0x8625d0\nADD             X1, X0, #0x400                                         ; +0x14, 0x8625d4\nLDR             W0, [X0,#0x498]                                        ; +0x18, 0x8625d8\nBL              _ZN20GJSpecialColorSelect6createEiP28GJSpecialColorSelectDelegate15ColorSelectType; GJSpecialColorSelect::create(int,GJSpecialColorSelectDelegate *,ColorSelectType) ; +0x1c, 0x8625dc\nMOV             X19, X0                                                ; +0x20, 0x8625e0\nLDR             X1, [X20]                                              ; +0x24, 0x8625e4\nMOV             X0, X20                                                ; +0x28, 0x8625e8\nLDR             X2, [X19]                                              ; +0x2c, 0x8625ec\nLDR             X1, [X1,#0x40]                                         ; +0x30, 0x8625f0\nLDR             X20, [X2,#0x48]                                        ; +0x34, 0x8625f4\nBLR             X1                                                     ; +0x38, 0x8625f8\nMOV             W1, W0                                                 ; +0x3c, 0x8625fc\nMOV             X0, X19                                                ; +0x40, 0x862600\nBLR             X20                                                    ; +0x44, 0x862604\nLDR             X1, [X19]                                              ; +0x48, 0x862608\nMOV             X0, X19                                                ; +0x4c, 0x86260c\nLDR             X1, [X1,#0x520]                                        ; +0x50, 0x862610\nBLR             X1                                                     ; +0x54, 0x862614\nLDP             X19, X20, [SP,#var_s10]                                ; +0x58, 0x862618\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x5c, 0x86261c\nRET                                                                    ; +0x60, 0x862620", "xrefs": ["<???> @ 0xcafd8", "ColorSelectPopup::init @ 0x864db0", "ColorSelectPopup::init @ 0x8655b8", "<???> @ 0x1545f58"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}