{"type": "func", "start": 4297926964, "end": 4297927224, "name": "-[EditBoxImplIOS textFieldShouldEndEditing:]", "pseudocode": "// \n// -[EditBoxImplIOS textFieldShouldEndEditing:] from 0x1002d2934 to 0x1002d2a38 (260 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009ce1e0\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 textFieldShouldEndEditing:](EditBoxImplIOS *self, SEL a2, id a3)\n{\n  void *editBox; // x20\n  __int64 v5; // x0\n  _QWORD *v6; // x0\n  __int64 v7; // x20\n  __int64 v8; // x20\n  _QWORD *v9; // x0\n  __int64 v10; // x21\n\n  self->editState_ = 0;\n  editBox = self->editBox_;\n  v5 = (*(__int64 (__fastcall **)(void *, SEL, id))(*(_QWORD *)editBox + 112LL))(editBox, a2, a3);\n  (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)editBox + 104LL))(editBox, v5);\n  v6 = self->editBox_;\n  v7 = v6[1];\n  if ( v7 )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7 + 24LL))(v6[1], v6[2]);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 40LL))(v7, *((_QWORD *)self->editBox_ + 2));\n    v6 = self->editBox_;\n  }\n  v8 = v6[2];\n  if ( !v8\n    || !*(_DWORD *)(v8 + 728)\n    || (v9 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v6),\n        v10 = *v9,\n        (*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(*(_QWORD *)*v9 + 144LL))(\n          *v9,\n          *(unsigned int *)(v8 + 728),\n          \"ended\",\n          v8,\n          0),\n        (*(void (__fastcall **)(__int64, _QWORD, const char *, __int64, _QWORD))(*(_QWORD *)v10 + 144LL))(\n          v10,\n          *(unsigned int *)(v8 + 728),\n          \"return\",\n          v8,\n          0),\n        (v6 = self->editBox_) != nullptr) )\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v6 + 200LL))(v6);\n  }\n  return 1;\n}", "assembly": "; \n; -[EditBoxImplIOS textFieldShouldEndEditing:] from 0x1002d2934 to 0x1002d2a38 (260 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009ce1e0\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002d2934\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002d2938\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002d293c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002d2940\nMOV             X19, X0                                                ; +0x10, 0x1002d2944\nSTRB            WZR, [X0,#0x18]                                        ; +0x14, 0x1002d2948\nLDR             X20, [X0,#0x10]                                        ; +0x18, 0x1002d294c\nLDR             X8, [X20]                                              ; +0x1c, 0x1002d2950\nLDR             X8, [X8,#0x70]                                         ; +0x20, 0x1002d2954\nMOV             X0, X20                                                ; +0x24, 0x1002d2958\nBLR             X8                                                     ; +0x28, 0x1002d295c\nMOV             X1, X0                                                 ; +0x2c, 0x1002d2960\nLDR             X8, [X20]                                              ; +0x30, 0x1002d2964\nLDR             X8, [X8,#0x68]                                         ; +0x34, 0x1002d2968\nMOV             X0, X20                                                ; +0x38, 0x1002d296c\nBLR             X8                                                     ; +0x3c, 0x1002d2970\nLDR             X0, [X19,#0x10]                                        ; +0x40, 0x1002d2974\nLDR             X20, [X0,#8]                                           ; +0x44, 0x1002d2978\nCBZ             X20, loc_1002D29B0                                     ; +0x48, 0x1002d297c\nLDR             X1, [X0,#0x10]                                         ; +0x4c, 0x1002d2980\nLDR             X8, [X20]                                              ; +0x50, 0x1002d2984\nLDR             X8, [X8,#0x18]                                         ; +0x54, 0x1002d2988\nMOV             X0, X20                                                ; +0x58, 0x1002d298c\nBLR             X8                                                     ; +0x5c, 0x1002d2990\nLDR             X8, [X19,#0x10]                                        ; +0x60, 0x1002d2994\nLDR             X1, [X8,#0x10]                                         ; +0x64, 0x1002d2998\nLDR             X8, [X20]                                              ; +0x68, 0x1002d299c\nLDR             X8, [X8,#0x28]                                         ; +0x6c, 0x1002d29a0\nMOV             X0, X20                                                ; +0x70, 0x1002d29a4\nBLR             X8                                                     ; +0x74, 0x1002d29a8\nLDR             X0, [X19,#0x10]                                        ; +0x78, 0x1002d29ac\nLDR             X20, [X0,#0x10]                                        ; +0x7c, 0x1002d29b0\nCBZ             X20, loc_1002D2A18                                     ; +0x80, 0x1002d29b4\nLDR             W8, [X20,#0x2D8]                                       ; +0x84, 0x1002d29b8\nCBZ             W8, loc_1002D2A18                                      ; +0x88, 0x1002d29bc\nBL              cocos2d__CCScriptEngineManager__sharedManager          ; +0x8c, 0x1002d29c0\nLDR             X21, [X0]                                              ; +0x90, 0x1002d29c4\nLDR             W1, [X20,#0x2D8]                                       ; +0x94, 0x1002d29c8\nLDR             X8, [X21]                                              ; +0x98, 0x1002d29cc\nLDR             X8, [X8,#0x90]                                         ; +0x9c, 0x1002d29d0\nADRL            X2, aEnded; \"ended\"                                    ; +0xa0, 0x1002d29d4\nMOV             X0, X21                                                ; +0xa8, 0x1002d29dc\nMOV             X3, X20                                                ; +0xac, 0x1002d29e0\nMOV             X4, #0                                                 ; +0xb0, 0x1002d29e4\nBLR             X8                                                     ; +0xb4, 0x1002d29e8\nLDR             W1, [X20,#0x2D8]                                       ; +0xb8, 0x1002d29ec\nLDR             X8, [X21]                                              ; +0xbc, 0x1002d29f0\nLDR             X8, [X8,#0x90]                                         ; +0xc0, 0x1002d29f4\nADRL            X2, aReturn; \"return\"                                  ; +0xc4, 0x1002d29f8\nMOV             X0, X21                                                ; +0xcc, 0x1002d2a00\nMOV             X3, X20                                                ; +0xd0, 0x1002d2a04\nMOV             X4, #0                                                 ; +0xd4, 0x1002d2a08\nBLR             X8                                                     ; +0xd8, 0x1002d2a0c\nLDR             X0, [X19,#0x10]                                        ; +0xdc, 0x1002d2a10\nCBZ             X0, loc_1002D2A24                                      ; +0xe0, 0x1002d2a14\nLDR             X8, [X0]                                               ; +0xe4, 0x1002d2a18\nLDR             X8, [X8,#0xC8]                                         ; +0xe8, 0x1002d2a1c\nBLR             X8                                                     ; +0xec, 0x1002d2a20\nMOV             W0, #1                                                 ; +0xf0, 0x1002d2a24\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xf4, 0x1002d2a28\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xf8, 0x1002d2a2c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xfc, 0x1002d2a30\nRET                                                                    ; +0x100, 0x1002d2a34", "xrefs": ["<???> @ 0x1009ce1e0"], "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"}