{"type": "func", "start": 4079924, "end": 4079986, "name": "CCTextInputNode::pasteText", "pseudocode": "// \n// CCTextInputNode::pasteText from 0x3e4134 to 0x3e4172 (62 bytes)\n// \n// 1 xrefs:\n// > CCTextInputMenu::onPaste @ 0x3dbaf2\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:47:03 +0000\n// \n\nint __fastcall CCTextInputNode::pasteText(CCTextInputNode *this, int a2, int a3, int a4)\n{\n  _DWORD v6[4]; // [sp+0h] [bp-10h] BYREF\n\n  v6[0] = this;\n  v6[1] = a2;\n  v6[2] = a3;\n  v6[3] = a4;\n  PlatformToolbox::getClipboardString((PlatformToolbox *)v6);\n  CCTextInputNode::insertAtCursor((int)this, (int)v6);\n  return std::string::~string((int)v6);\n}", "assembly": "; \n; CCTextInputNode::pasteText from 0x3e4134 to 0x3e4172 (62 bytes)\n; \n; 1 xrefs:\n; > CCTextInputMenu::onPaste @ 0x3dbaf2\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:47:03 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x3e4134\nMOV             R6, R0                                                 ; +0x2, 0x3e4136\nLDR             R4, =(__stack_chk_guard_ptr - 0x3E4142)                ; +0x4, 0x3e4138\nMOV             R0, SP; this                                           ; +0x6, 0x3e413a\nMOV             R5, SP                                                 ; +0x8, 0x3e413c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3e413e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x3e4140\nLDR             R3, [R4]                                               ; +0xe, 0x3e4142\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x10, 0x3e4144\nBL              _ZN15PlatformToolbox18getClipboardStringEv; PlatformToolbox::getClipboardString(void) ; +0x12, 0x3e4146\nMOV             R0, R6                                                 ; +0x16, 0x3e414a\nMOV             R1, SP                                                 ; +0x18, 0x3e414c\nBL              _ZN15CCTextInputNode14insertAtCursorENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::insertAtCursor(std::string) ; +0x1a, 0x3e414e\nMOV             R0, SP                                                 ; +0x1e, 0x3e4152\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x20, 0x3e4154\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x24, 0x3e4158\nLDR             R3, [R4]                                               ; +0x26, 0x3e415a\nCMP             R2, R3                                                 ; +0x28, 0x3e415c\nBEQ             loc_3E416E                                             ; +0x2a, 0x3e415e\nBLX             __stack_chk_fail                                       ; +0x2c, 0x3e4160\nMOV             R0, R5                                                 ; +0x30, 0x3e4164\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x32, 0x3e4166\nBL              __cxa_end_cleanup                                      ; +0x36, 0x3e416a\nADD             SP, SP, #0x10                                          ; +0x3a, 0x3e416e\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x3e4170", "xrefs": ["CCTextInputMenu::onPaste @ 0x3dbaf2"], "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"}