{"type": "func", "start": 5107722, "end": 5107766, "name": "ColorSelectPopup::onPaste", "pseudocode": "// \n// ColorSelectPopup::onPaste from 0x4df00a to 0x4df036 (44 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::onPaste(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  int v5; // [sp+4h] [bp-4h]\n\n  HIBYTE(v5) = HIBYTE(a2);\n  v3 = GameManager::sharedState(this);\n  *(_WORD *)((char *)&v5 + 1) = *(_WORD *)(v3 + 749);\n  LOBYTE(v5) = *(_BYTE *)(v3 + 748);\n  return ColorSelectPopup::selectColor((int)this, v5, BYTE1(v5));\n}", "assembly": "; \n; ColorSelectPopup::onPaste from 0x4df00a to 0x4df036 (44 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            {R0,R1,R4,LR}                                          ; +0x0, 0x4df00a\nMOV             R4, R0                                                 ; +0x2, 0x4df00c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x4df00e\nLDRB.W          R2, [R0,#0x2ED]                                        ; +0x8, 0x4df012\nLDRB.W          R3, [R0,#0x2EE]                                        ; +0xc, 0x4df016\nLDRB.W          R1, [R0,#0x2EC]                                        ; +0x10, 0x4df01a\nMOV             R0, R4                                                 ; +0x14, 0x4df01e\nSTRB.W          R2, [SP,#8+var_4+1]                                    ; +0x16, 0x4df020\nSTRB.W          R3, [SP,#8+var_4+2]                                    ; +0x1a, 0x4df024\nSTRB.W          R1, [SP,#8+var_4]                                      ; +0x1e, 0x4df028\nLDR             R1, [SP,#8+var_4]                                      ; +0x22, 0x4df02c\nBL              _ZN16ColorSelectPopup11selectColorEN7cocos2d10_ccColor3BE; ColorSelectPopup::selectColor(cocos2d::_ccColor3B) ; +0x24, 0x4df02e\nADD             SP, SP, #8                                             ; +0x28, 0x4df032\nPOP             {R4,PC}                                                ; +0x2a, 0x4df034", "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"}