{"type": "func", "start": 8793708, "end": 8793780, "name": "ColorSelectPopup::onPaste", "pseudocode": "// \n// ColorSelectPopup::onPaste from 0x862e6c to 0x862eb4 (72 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9fd48\n// > ColorSelectPopup::init @ 0x86455c\n// > <???> @ 0x1544700\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::onPaste(ColorSelectPopup *this, cocos2d::CCObject *a2)\n{\n  _BYTE *v3; // x0\n  __int64 v5; // [xsp+28h] [xbp+28h]\n\n  v3 = (_BYTE *)GameManager::sharedState(this);\n  BYTE1(v5) = v3[961];\n  BYTE2(v5) = v3[962];\n  LOBYTE(v5) = v3[960];\n  return ColorSelectPopup::selectColor((__int64)this, v5);\n}", "assembly": "; \n; ColorSelectPopup::onPaste from 0x862e6c to 0x862eb4 (72 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9fd48\n; > ColorSelectPopup::init @ 0x86455c\n; > <???> @ 0x1544700\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,#var_30]!                                ; +0x0, 0x862e6c\nMOV             X29, SP                                                ; +0x4, 0x862e70\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x862e74\nMOV             X19, X0                                                ; +0xc, 0x862e78\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x862e7c\nMOV             X1, X0                                                 ; +0x14, 0x862e80\nMOV             X0, X19                                                ; +0x18, 0x862e84\nLDRB            W3, [X1,#0x3C1]                                        ; +0x1c, 0x862e88\nLDRB            W2, [X1,#0x3C2]                                        ; +0x20, 0x862e8c\nLDRB            W1, [X1,#0x3C0]                                        ; +0x24, 0x862e90\nSTRB            W3, [X29,#0x30+var_8+1]                                ; +0x28, 0x862e94\nSTRB            W2, [X29,#0x30+var_8+2]                                ; +0x2c, 0x862e98\nSTRB            W1, [X29,#0x30+var_8]                                  ; +0x30, 0x862e9c\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x34, 0x862ea0\nBL              _ZN16ColorSelectPopup11selectColorEN7cocos2d10_ccColor3BE; ColorSelectPopup::selectColor(cocos2d::_ccColor3B) ; +0x38, 0x862ea4\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0x862ea8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x862eac\nRET                                                                    ; +0x44, 0x862eb0", "xrefs": ["<???> @ 0x9fd48", "ColorSelectPopup::init @ 0x86455c", "<???> @ 0x1544700"], "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"}