{"type": "func", "start": 5371445984, "end": 5371446084, "name": "SetColorIDPopup::onSelectSpecialColor", "pseudocode": "// \n// SetColorIDPopup::onSelectSpecialColor from 0x14029c2e0 to 0x14029c344 (100 bytes)\n// \n// 2 xrefs:\n// > SetColorIDPopup::init @ 0x14029c1d3\n// > <???> @ 0x1406d1dfc\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 SetColorIDPopup::onSelectSpecialColor(SetColorIDPopup *a1, cocos2d::CCObject *a2)\n{\n  bool v3; // zf\n  GJSpecialColorSelectDelegate *v4; // rdx\n  int m_value; // ecx\n  GJSpecialColorSelect *v6; // rdi\n  GJSpecialColorSelect_vtbl *v7; // rbx\n  unsigned int v8; // eax\n\n  v3 = a1 == nullptr;\n  v4 = &a1->GJSpecialColorSelectDelegate;\n  m_value = a1->m_value;\n  if ( v3 )\n    v4 = nullptr;\n  v6 = GJSpecialColorSelect::create(m_value, v4, Filter);\n  v7 = v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v8 = a2->getTag(a2);\n  v7->setTag(v6, v8);\n  v6->show(v6);\n}", "assembly": "; \n; SetColorIDPopup::onSelectSpecialColor from 0x14029c2e0 to 0x14029c344 (100 bytes)\n; \n; 2 xrefs:\n; > SetColorIDPopup::init @ 0x14029c1d3\n; > <???> @ 0x1406d1dfc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14029c2e0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14029c2e5\npush    rdi                                                            ; +0xa, 0x14029c2ea\nsub     rsp, 20h                                                       ; +0xb, 0x14029c2eb\nxor     eax, eax                                                       ; +0xf, 0x14029c2ef\nmov     rsi, rdx                                                       ; +0x11, 0x14029c2f1\ntest    rcx, rcx                                                       ; +0x14, 0x14029c2f4\nlea     rdx, [rcx+2A8h]                                                ; +0x17, 0x14029c2f7\nmov     ecx, [rcx+288h]                                                ; +0x1e, 0x14029c2fe\ncmovz   rdx, rax                                                       ; +0x24, 0x14029c304\nlea     r8d, [rax+2]                                                   ; +0x28, 0x14029c308\ncall    GJSpecialColorSelect__create                                   ; +0x2c, 0x14029c30c\nmov     rdx, [rsi]                                                     ; +0x31, 0x14029c311\nmov     rcx, rsi                                                       ; +0x34, 0x14029c314\nmov     rdi, rax                                                       ; +0x37, 0x14029c317\nmov     rbx, [rax]                                                     ; +0x3a, 0x14029c31a\ncall    qword ptr [rdx+38h]                                            ; +0x3d, 0x14029c31d\nmov     edx, eax                                                       ; +0x40, 0x14029c320\nmov     rcx, rdi                                                       ; +0x42, 0x14029c322\ncall    qword ptr [rbx+40h]                                            ; +0x45, 0x14029c325\nmov     rdx, [rdi]                                                     ; +0x48, 0x14029c328\nmov     rcx, rdi                                                       ; +0x4b, 0x14029c32b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x14029c32e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x53, 0x14029c333\nadd     rsp, 20h                                                       ; +0x58, 0x14029c338\npop     rdi                                                            ; +0x5c, 0x14029c33c\njmp     qword ptr [rdx+410h]                                           ; +0x5d, 0x14029c33d", "xrefs": ["SetColorIDPopup::init @ 0x14029c1d3", "<???> @ 0x1406d1dfc"], "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"}