{"type": "func", "start": 4299806632, "end": 4299806744, "name": "-[EAGLView insertText:]", "pseudocode": "// \n// -[EAGLView insertText:] from 0x10049d7a8 to 0x10049d818 (112 bytes)\n// \n// 2 xrefs:\n// > -[EAGLView paste:] @ 0x100759b30\n// > <???> @ 0x1009d39f8\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 11:06:00 +0000\n// \n\nvoid __cdecl -[EAGLView insertText:](EAGLView *self, SEL a2, id a3)\n{\n  NSString *markedText; // x0\n  const char *v6; // x19\n  __int64 *v7; // x20\n  int v8; // w2\n\n  markedText = self->markedText_;\n  if ( markedText )\n  {\n    objc_release(markedText);\n    self->markedText_ = nullptr;\n  }\n  v6 = (const char *)objc_msgSend(a3, \"cStringUsingEncoding:\", 4);\n  v7 = cocos2d::CCIMEDispatcher::sharedDispatcher();\n  v8 = strlen(v6);\n  cocos2d::CCIMEDispatcher::dispatchInsertText((__int64)v7, (__int64)v6, v8);\n}", "assembly": "; \n; -[EAGLView insertText:] from 0x10049d7a8 to 0x10049d818 (112 bytes)\n; \n; 2 xrefs:\n; > -[EAGLView paste:] @ 0x100759b30\n; > <???> @ 0x1009d39f8\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 11:06:00 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10049d7a8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10049d7ac\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10049d7b0\nADD             X29, SP, #0x20                                         ; +0xc, 0x10049d7b4\nMOV             X19, X2                                                ; +0x10, 0x10049d7b8\nMOV             X20, X0                                                ; +0x14, 0x10049d7bc\nADRP            X8, #_OBJC_IVAR_$_EAGLView.markedText_@PAGE; NSString *markedText_; ; +0x18, 0x10049d7c0\nLDRSW           X21, [X8,#_OBJC_IVAR_$_EAGLView.markedText_@PAGEOFF]; NSString *markedText_; ; +0x1c, 0x10049d7c4\nLDR             X0, [X0,X21]; id                                       ; +0x20, 0x10049d7c8\nCBZ             X0, loc_10049D7D8                                      ; +0x24, 0x10049d7cc\nBL              _objc_release                                          ; +0x28, 0x10049d7d0\nSTR             XZR, [X20,X21]                                         ; +0x2c, 0x10049d7d4\nMOV             X0, X19                                                ; +0x30, 0x10049d7d8\nMOV             W2, #4                                                 ; +0x34, 0x10049d7dc\nBL              _objc_msgSend$cStringUsingEncoding_                    ; +0x38, 0x10049d7e0\nMOV             X19, X0                                                ; +0x3c, 0x10049d7e4\nBL              cocos2d__CCIMEDispatcher__sharedDispatcher             ; +0x40, 0x10049d7e8\nMOV             X20, X0                                                ; +0x44, 0x10049d7ec\nMOV             X0, X19; __s                                           ; +0x48, 0x10049d7f0\nBL              _strlen                                                ; +0x4c, 0x10049d7f4\nMOV             X2, X0                                                 ; +0x50, 0x10049d7f8\nMOV             X0, X20                                                ; +0x54, 0x10049d7fc\nMOV             X1, X19                                                ; +0x58, 0x10049d800\nMOV             W3, #0xFFFFFFFF                                        ; +0x5c, 0x10049d804\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x10049d808\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x10049d80c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x68, 0x10049d810\nB               cocos2d__CCIMEDispatcher__dispatchInsertText           ; +0x6c, 0x10049d814", "xrefs": ["-[EAGLView paste:] @ 0x100759b30", "<???> @ 0x1009d39f8"], "is_objc": true, "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"}