{"type": "func", "start": 4297926792, "end": 4297926964, "name": "-[EditBoxImplIOS textFieldShouldBeginEditing:]", "pseudocode": "// \n// -[EditBoxImplIOS textFieldShouldBeginEditing:] from 0x1002d2888 to 0x1002d2934 (172 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009ce1c8\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:02:39 +0000\n// \n\nbool __cdecl -[EditBoxImplIOS textFieldShouldBeginEditing:](EditBoxImplIOS *self, SEL a2, id a3)\n{\n  _QWORD *editBox; // x8\n  __int64 v5; // x0\n  __int64 v6; // x19\n  _QWORD *v7; // x0\n\n  self->editState_ = 1;\n  if ( (unsigned int)objc_msgSend(\n                       +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, \"sharedEGLView\", a3),\n                       \"isKeyboardShown\") )\n    -[EditBoxImplIOS performSelector:withObject:afterDelay:](\n      self,\n      \"performSelector:withObject:afterDelay:\",\n      \"animationSelector\",\n      0,\n      0.0);\n  editBox = self->editBox_;\n  v5 = editBox[1];\n  if ( v5 )\n  {\n    v5 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 16LL))(v5, editBox[2]);\n    editBox = self->editBox_;\n  }\n  v6 = editBox[2];\n  if ( v6 && *(_DWORD *)(v6 + 728) )\n  {\n    v7 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v5);\n    (*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(*(_QWORD *)*v7 + 144LL))(\n      *v7,\n      *(unsigned int *)(v6 + 728),\n      \"began\",\n      v6,\n      0);\n  }\n  return 1;\n}", "assembly": "; \n; -[EditBoxImplIOS textFieldShouldBeginEditing:] from 0x1002d2888 to 0x1002d2934 (172 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009ce1c8\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:02:39 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002d2888\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002d288c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002d2890\nMOV             X19, X0                                                ; +0xc, 0x1002d2894\nMOV             W8, #1                                                 ; +0x10, 0x1002d2898\nSTRB            W8, [X0,#0x18]                                         ; +0x14, 0x1002d289c\nADRP            X8, #classRef_EAGLView@PAGE                            ; +0x18, 0x1002d28a0\nLDR             X0, [X8,#classRef_EAGLView@PAGEOFF]; _OBJC_CLASS_$_EAGLView ; +0x1c, 0x1002d28a4\nBL              _objc_msgSend$sharedEGLView; +[EAGLView sharedEGLView] ... ; +0x20, 0x1002d28a8\nBL              _objc_msgSend$isKeyboardShown                          ; +0x24, 0x1002d28ac\nCBZ             W0, loc_1002D28CC                                      ; +0x28, 0x1002d28b0\nADRP            X8, #selRef_animationSelector@PAGE                     ; +0x2c, 0x1002d28b4\nLDR             X2, [X8,#selRef_animationSelector@PAGEOFF]; \"animationSelector\" ... ; +0x30, 0x1002d28b8\nFMOV            D0, XZR                                                ; +0x34, 0x1002d28bc\nMOV             X0, X19                                                ; +0x38, 0x1002d28c0\nMOV             X3, #0                                                 ; +0x3c, 0x1002d28c4\nBL              _objc_msgSend$performSelector_withObject_afterDelay_; -[EditBoxImplIOS performSelector:withObject:afterDelay:] ... ; +0x40, 0x1002d28c8\nLDR             X8, [X19,#0x10]                                        ; +0x44, 0x1002d28cc\nLDR             X0, [X8,#8]                                            ; +0x48, 0x1002d28d0\nCBZ             X0, loc_1002D28EC                                      ; +0x4c, 0x1002d28d4\nLDR             X1, [X8,#0x10]                                         ; +0x50, 0x1002d28d8\nLDR             X8, [X0]                                               ; +0x54, 0x1002d28dc\nLDR             X8, [X8,#0x10]                                         ; +0x58, 0x1002d28e0\nBLR             X8                                                     ; +0x5c, 0x1002d28e4\nLDR             X8, [X19,#0x10]                                        ; +0x60, 0x1002d28e8\nLDR             X19, [X8,#0x10]                                        ; +0x64, 0x1002d28ec\nCBZ             X19, loc_1002D2924                                     ; +0x68, 0x1002d28f0\nLDR             W8, [X19,#0x2D8]                                       ; +0x6c, 0x1002d28f4\nCBZ             W8, loc_1002D2924                                      ; +0x70, 0x1002d28f8\nBL              cocos2d__CCScriptEngineManager__sharedManager          ; +0x74, 0x1002d28fc\nLDR             X0, [X0]                                               ; +0x78, 0x1002d2900\nLDR             W1, [X19,#0x2D8]                                       ; +0x7c, 0x1002d2904\nLDR             X8, [X0]                                               ; +0x80, 0x1002d2908\nLDR             X8, [X8,#0x90]                                         ; +0x84, 0x1002d290c\nADRL            X2, aBegan; \"began\"                                    ; +0x88, 0x1002d2910\nMOV             X3, X19                                                ; +0x90, 0x1002d2918\nMOV             X4, #0                                                 ; +0x94, 0x1002d291c\nBLR             X8                                                     ; +0x98, 0x1002d2920\nMOV             W0, #1                                                 ; +0x9c, 0x1002d2924\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa0, 0x1002d2928\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa4, 0x1002d292c\nRET                                                                    ; +0xa8, 0x1002d2930", "xrefs": ["<???> @ 0x1009ce1c8"], "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"}