; ; -[EditBoxImplMac textFieldShouldBeginEditing:] from 0x1004a42a0 to 0x1004a430a (106 bytes) ; ; 1 xrefs: ; > @ 0x100bdccf8 ; ; 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:53 +0000 ; push rbp ; +0x0, 0x1004a42a0 mov rbp, rsp ; +0x1, 0x1004a42a1 push rbx ; +0x4, 0x1004a42a4 push rax ; +0x5, 0x1004a42a5 mov rbx, rdi ; +0x6, 0x1004a42a6 mov byte ptr [rdi+18h], 1 ; +0x9, 0x1004a42a9 mov rax, [rdi+10h] ; +0xd, 0x1004a42ad mov rdi, [rax+8] ; +0x11, 0x1004a42b1 test rdi, rdi ; +0x15, 0x1004a42b5 jz short loc_1004A42C8 ; +0x18, 0x1004a42b8 mov rsi, [rax+10h] ; +0x1a, 0x1004a42ba mov rax, [rdi] ; +0x1e, 0x1004a42be call qword ptr [rax+10h] ; +0x21, 0x1004a42c1 mov rax, [rbx+10h] ; +0x24, 0x1004a42c4 mov rbx, [rax+10h] ; +0x28, 0x1004a42c8 test rbx, rbx ; +0x2c, 0x1004a42cc jz short loc_1004A42FE ; +0x2f, 0x1004a42cf cmp dword ptr [rbx+2D8h], 0 ; +0x31, 0x1004a42d1 jz short loc_1004A42FE ; +0x38, 0x1004a42d8 call cocos2d__CCScriptEngineManager__sharedManager ; +0x3a, 0x1004a42da mov rdi, [rax] ; +0x3f, 0x1004a42df mov esi, [rbx+2D8h] ; +0x42, 0x1004a42e2 mov rax, [rdi] ; +0x48, 0x1004a42e8 lea rdx, aBegan; "began" ; +0x4b, 0x1004a42eb mov rcx, rbx ; +0x52, 0x1004a42f2 xor r8d, r8d ; +0x55, 0x1004a42f5 call qword ptr [rax+90h] ; +0x58, 0x1004a42f8 mov eax, 1 ; +0x5e, 0x1004a42fe add rsp, 8 ; +0x63, 0x1004a4303 pop rbx ; +0x67, 0x1004a4307 pop rbp ; +0x68, 0x1004a4308 retn ; +0x69, 0x1004a4309