// // -[EditBoxImplIOS textFieldShouldEndEditing:] from 0x100235f24 to 0x100236028 (260 bytes) // // 1 xrefs: // > @ 0x100846358 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __cdecl -[EditBoxImplIOS textFieldShouldEndEditing:](EditBoxImplIOS *self, SEL a2, id a3) { void *editBox; // x20 __int64 v5; // x0 _QWORD *v6; // x0 __int64 v7; // x20 __int64 v8; // x20 cocos2d::CCScriptEngineManager *v9; // x0 __int64 v10; // x21 self->editState_ = 0; editBox = self->editBox_; v5 = (*(__int64 (__fastcall **)(void *, SEL, id))(*(_QWORD *)editBox + 112LL))(editBox, a2, a3); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)editBox + 104LL))(editBox, v5); v6 = self->editBox_; v7 = v6[1]; if ( v7 ) { (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7 + 24LL))(v6[1], v6[2]); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 40LL))(v7, *((_QWORD *)self->editBox_ + 2)); v6 = self->editBox_; } v8 = v6[2]; if ( !v8 || !*(_DWORD *)(v8 + 728) || (v9 = cocos2d::CCScriptEngineManager::sharedManager(), v10 = *(_QWORD *)v9, (*(void (__fastcall **)(_QWORD, _QWORD, const char *, __int64, _QWORD))(**(_QWORD **)v9 + 144LL))( *(_QWORD *)v9, *(unsigned int *)(v8 + 728), "ended", v8, 0), (*(void (__fastcall **)(__int64, _QWORD, const char *, __int64, _QWORD))(*(_QWORD *)v10 + 144LL))( v10, *(unsigned int *)(v8 + 728), "return", v8, 0), (v6 = self->editBox_) != nullptr) ) { (*(void (__fastcall **)(_QWORD *))(*v6 + 200LL))(v6); } return 1; }