; ; -[EditBoxImplMac textFieldShouldEndEditing:] from 0x1004a4310 to 0x1004a43af (159 bytes) ; ; 1 xrefs: ; > @ 0x100bdcd10 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:30:54 +0000 ; push rbp ; +0x0, 0x1004a4310 mov rbp, rsp ; +0x1, 0x1004a4311 push r14 ; +0x4, 0x1004a4314 push rbx ; +0x6, 0x1004a4316 mov byte ptr [rdi+18h], 0 ; +0x7, 0x1004a4317 mov rax, [rdi+10h] ; +0xb, 0x1004a431b mov r14, [rax+8] ; +0xf, 0x1004a431f test r14, r14 ; +0x13, 0x1004a4323 jz short loc_1004A434D ; +0x16, 0x1004a4326 mov rbx, rdi ; +0x18, 0x1004a4328 mov rsi, [rax+10h] ; +0x1b, 0x1004a432b mov rax, [r14] ; +0x1f, 0x1004a432f mov rdi, r14 ; +0x22, 0x1004a4332 call qword ptr [rax+18h] ; +0x25, 0x1004a4335 mov rax, [rbx+10h] ; +0x28, 0x1004a4338 mov rsi, [rax+10h] ; +0x2c, 0x1004a433c mov rax, [r14] ; +0x30, 0x1004a4340 mov rdi, r14 ; +0x33, 0x1004a4343 call qword ptr [rax+28h] ; +0x36, 0x1004a4346 mov rax, [rbx+10h] ; +0x39, 0x1004a4349 mov rbx, [rax+10h] ; +0x3d, 0x1004a434d test rbx, rbx ; +0x41, 0x1004a4351 jz short loc_1004A43A5 ; +0x44, 0x1004a4354 cmp dword ptr [rbx+2D8h], 0 ; +0x46, 0x1004a4356 jz short loc_1004A43A5 ; +0x4d, 0x1004a435d call cocos2d__CCScriptEngineManager__sharedManager ; +0x4f, 0x1004a435f mov r14, [rax] ; +0x54, 0x1004a4364 mov esi, [rbx+2D8h] ; +0x57, 0x1004a4367 mov rax, [r14] ; +0x5d, 0x1004a436d lea rdx, aEnded; "ended" ; +0x60, 0x1004a4370 mov rdi, r14 ; +0x67, 0x1004a4377 mov rcx, rbx ; +0x6a, 0x1004a437a xor r8d, r8d ; +0x6d, 0x1004a437d call qword ptr [rax+90h] ; +0x70, 0x1004a4380 mov esi, [rbx+2D8h] ; +0x76, 0x1004a4386 mov rax, [r14] ; +0x7c, 0x1004a438c lea rdx, aReturn; "return" ; +0x7f, 0x1004a438f mov rdi, r14 ; +0x86, 0x1004a4396 mov rcx, rbx ; +0x89, 0x1004a4399 xor r8d, r8d ; +0x8c, 0x1004a439c call qword ptr [rax+90h] ; +0x8f, 0x1004a439f mov eax, 1 ; +0x95, 0x1004a43a5 pop rbx ; +0x9a, 0x1004a43aa pop r14 ; +0x9b, 0x1004a43ab pop rbp ; +0x9d, 0x1004a43ad retn ; +0x9e, 0x1004a43ae