{"type": "func", "start": 4037884, "end": 4037938, "name": "ColorSelectPopup::onSelectSpecialColor", "pseudocode": "// \n// ColorSelectPopup::onSelectSpecialColor from 0x3d9cfc to 0x3d9d32 (54 bytes)\n// \n// 0 xrefs:\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 ColorSelectPopup::onSelectSpecialColor(ColorSelectPopup *a1, cocos2d::CCObject *a2)\n{\n  GJSpecialColorSelect *v3; // r4\n  void (__fastcall *setTag)(cocos2d::CCObject *__hidden, int); // r6\n  int v5; // r0\n\n  v3 = GJSpecialColorSelect::create(a1->m_copyColorID, &a1->GJSpecialColorSelectDelegate, Color);\n  setTag = v3->setTag;\n  v5 = a2->getTag(a2);\n  setTag(v3, v5);\n  v3->show(v3);\n}", "assembly": "; \n; ColorSelectPopup::onSelectSpecialColor from 0x3d9cfc to 0x3d9d32 (54 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3d9cfc\nMOV             R3, R0                                                 ; +0x2, 0x3d9cfe\nMOV             R5, R1                                                 ; +0x4, 0x3d9d00\nMOVS            R2, #1                                                 ; +0x6, 0x3d9d02\nADD.W           R1, R3, #0x2AC                                         ; +0x8, 0x3d9d04\nLDR.W           R0, [R0,#0x308]                                        ; +0xc, 0x3d9d08\nBL              _ZN20GJSpecialColorSelect6createEiP28GJSpecialColorSelectDelegate15ColorSelectType; GJSpecialColorSelect::create(int,GJSpecialColorSelectDelegate *,ColorSelectType) ; +0x10, 0x3d9d0c\nLDR             R3, [R0]                                               ; +0x14, 0x3d9d10\nMOV             R4, R0                                                 ; +0x16, 0x3d9d12\nMOV             R0, R5                                                 ; +0x18, 0x3d9d14\nLDR             R6, [R3,#0x24]                                         ; +0x1a, 0x3d9d16\nLDR             R3, [R5]                                               ; +0x1c, 0x3d9d18\nLDR             R3, [R3,#0x20]                                         ; +0x1e, 0x3d9d1a\nBLX             R3                                                     ; +0x20, 0x3d9d1c\nMOV             R1, R0                                                 ; +0x22, 0x3d9d1e\nMOV             R0, R4                                                 ; +0x24, 0x3d9d20\nBLX             R6                                                     ; +0x26, 0x3d9d22\nLDR             R3, [R4]                                               ; +0x28, 0x3d9d24\nMOV             R0, R4                                                 ; +0x2a, 0x3d9d26\nPOP.W           {R4-R6,LR}                                             ; +0x2c, 0x3d9d28\nLDR.W           R3, [R3,#0x284]                                        ; +0x30, 0x3d9d2c\nBX              R3                                                     ; +0x34, 0x3d9d30", "xrefs": [], "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"}