{"type": "func", "start": 5106744, "end": 5106798, "name": "ColorSelectPopup::onSelectSpecialColor", "pseudocode": "// \n// ColorSelectPopup::onSelectSpecialColor from 0x4dec38 to 0x4dec6e (54 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:50:59 +0000\n// \n\nint __fastcall ColorSelectPopup::onSelectSpecialColor(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  int v3; // r4\n  void (__fastcall *v4)(int, int); // r6\n  int v5; // r0\n\n  v3 = GJSpecialColorSelect::create(*((_DWORD *)this + 202), (char *)this + 716, 1);\n  v4 = *(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 36);\n  v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  v4(v3, v5);\n  return (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 656))(v3);\n}", "assembly": "; \n; ColorSelectPopup::onSelectSpecialColor from 0x4dec38 to 0x4dec6e (54 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:50:59 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4dec38\nMOV             R3, R0                                                 ; +0x2, 0x4dec3a\nMOV             R5, R1                                                 ; +0x4, 0x4dec3c\nMOVS            R2, #1                                                 ; +0x6, 0x4dec3e\nADD.W           R1, R3, #0x2CC                                         ; +0x8, 0x4dec40\nLDR.W           R0, [R0,#0x328]                                        ; +0xc, 0x4dec44\nBL              _ZN20GJSpecialColorSelect6createEiP28GJSpecialColorSelectDelegate15ColorSelectType; GJSpecialColorSelect::create(int,GJSpecialColorSelectDelegate *,ColorSelectType) ; +0x10, 0x4dec48\nLDR             R3, [R0]                                               ; +0x14, 0x4dec4c\nMOV             R4, R0                                                 ; +0x16, 0x4dec4e\nMOV             R0, R5                                                 ; +0x18, 0x4dec50\nLDR             R6, [R3,#0x24]                                         ; +0x1a, 0x4dec52\nLDR             R3, [R5]                                               ; +0x1c, 0x4dec54\nLDR             R3, [R3,#0x20]                                         ; +0x1e, 0x4dec56\nBLX             R3                                                     ; +0x20, 0x4dec58\nMOV             R1, R0                                                 ; +0x22, 0x4dec5a\nMOV             R0, R4                                                 ; +0x24, 0x4dec5c\nBLX             R6                                                     ; +0x26, 0x4dec5e\nLDR             R3, [R4]                                               ; +0x28, 0x4dec60\nMOV             R0, R4                                                 ; +0x2a, 0x4dec62\nPOP.W           {R4-R6,LR}                                             ; +0x2c, 0x4dec64\nLDR.W           R3, [R3,#0x290]                                        ; +0x30, 0x4dec68\nBX              R3                                                     ; +0x34, 0x4dec6c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}