{"type": "func", "start": 4297285240, "end": 4297285412, "name": "-[EditBoxImplIOS textFieldShouldBeginEditing:]", "pseudocode": "// \n// -[EditBoxImplIOS textFieldShouldBeginEditing:] from 0x100235e78 to 0x100235f24 (172 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100846340\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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  cocos2d::CCScriptEngineManager *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    (*(void (__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 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(**(_QWORD **)v7 + 144LL))(\n      *(_QWORD *)v7,\n      *(unsigned int *)(v6 + 728),\n      \"began\",\n      v6,\n      0);\n  }\n  return 1;\n}", "assembly": "; \n; -[EditBoxImplIOS textFieldShouldBeginEditing:] from 0x100235e78 to 0x100235f24 (172 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100846340\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100235e78\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100235e7c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100235e80\nMOV             X19, X0                                                ; +0xc, 0x100235e84\nMOV             W8, #1                                                 ; +0x10, 0x100235e88\nSTRB            W8, [X0,#0x18]                                         ; +0x14, 0x100235e8c\nADRP            X8, #classRef_EAGLView@PAGE                            ; +0x18, 0x100235e90\nLDR             X0, [X8,#classRef_EAGLView@PAGEOFF]; _OBJC_CLASS_$_EAGLView ; +0x1c, 0x100235e94\nBL              _objc_msgSend$sharedEGLView; +[EAGLView sharedEGLView] ... ; +0x20, 0x100235e98\nBL              _objc_msgSend$isKeyboardShown                          ; +0x24, 0x100235e9c\nCBZ             W0, loc_100235EBC                                      ; +0x28, 0x100235ea0\nADRP            X8, #selRef_animationSelector@PAGE                     ; +0x2c, 0x100235ea4\nLDR             X2, [X8,#selRef_animationSelector@PAGEOFF]; \"animationSelector\" ... ; +0x30, 0x100235ea8\nFMOV            D0, XZR                                                ; +0x34, 0x100235eac\nMOV             X0, X19                                                ; +0x38, 0x100235eb0\nMOV             X3, #0                                                 ; +0x3c, 0x100235eb4\nBL              _objc_msgSend$performSelector_withObject_afterDelay_; -[EditBoxImplIOS performSelector:withObject:afterDelay:] ... ; +0x40, 0x100235eb8\nLDR             X8, [X19,#0x10]                                        ; +0x44, 0x100235ebc\nLDR             X0, [X8,#8]                                            ; +0x48, 0x100235ec0\nCBZ             X0, loc_100235EDC                                      ; +0x4c, 0x100235ec4\nLDR             X1, [X8,#0x10]                                         ; +0x50, 0x100235ec8\nLDR             X8, [X0]                                               ; +0x54, 0x100235ecc\nLDR             X8, [X8,#0x10]                                         ; +0x58, 0x100235ed0\nBLR             X8                                                     ; +0x5c, 0x100235ed4\nLDR             X8, [X19,#0x10]                                        ; +0x60, 0x100235ed8\nLDR             X19, [X8,#0x10]                                        ; +0x64, 0x100235edc\nCBZ             X19, loc_100235F14                                     ; +0x68, 0x100235ee0\nLDR             W8, [X19,#0x2D8]                                       ; +0x6c, 0x100235ee4\nCBZ             W8, loc_100235F14                                      ; +0x70, 0x100235ee8\nBL              cocos2d__CCScriptEngineManager__sharedManager          ; +0x74, 0x100235eec\nLDR             X0, [X0]                                               ; +0x78, 0x100235ef0\nLDR             W1, [X19,#0x2D8]                                       ; +0x7c, 0x100235ef4\nLDR             X8, [X0]                                               ; +0x80, 0x100235ef8\nLDR             X8, [X8,#0x90]                                         ; +0x84, 0x100235efc\nADRL            X2, aBegan; \"began\"                                    ; +0x88, 0x100235f00\nMOV             X3, X19                                                ; +0x90, 0x100235f08\nMOV             X4, #0                                                 ; +0x94, 0x100235f0c\nBLR             X8                                                     ; +0x98, 0x100235f10\nMOV             W0, #1                                                 ; +0x9c, 0x100235f14\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa0, 0x100235f18\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa4, 0x100235f1c\nRET                                                                    ; +0xa8, 0x100235f20", "xrefs": ["<???> @ 0x100846340"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}