{"type": "func", "start": 5369065520, "end": 5369065706, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x140057030 to 0x1400570ea (186 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14070d660\n// > <???> @ 0x1409103e8\n// \n// This function is hookable on this platform (idp: pc, 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:25:40 +0000\n// \n\n__int64 __fastcall CCTextInputNode::keyboardWillHide(__int64 a1)\n{\n  bool v1; // zf\n  __int64 result; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n\n  v1 = *(_BYTE *)(a1 + 218) == 0;\n  result = *(unsigned __int8 *)(a1 + 60);\n  dword_140909780 = 0;\n  if ( v1 )\n  {\n    if ( (_BYTE)result && *(_QWORD *)(a1 + 184) )\n      result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 408) + 1032LL))(a1 - 408, 0);\n    if ( *(_QWORD *)(a1 + 184) )\n    {\n      if ( *(_BYTE *)(a1 + 61) )\n      {\n        v5 = *(_QWORD *)(a1 + 192);\n        *(_BYTE *)(a1 + 61) = 0;\n        if ( v5 )\n          return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 32LL))(v5, a1 - 408);\n      }\n    }\n  }\n  else if ( (_BYTE)result && *(_QWORD *)(a1 + 184) )\n  {\n    v4 = *(_QWORD *)(a1 + 192);\n    if ( v4 )\n      result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 32LL))(v4, a1 - 408);\n    *(_BYTE *)(a1 + 60) = 0;\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x140057030 to 0x1400570ea (186 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14070d660\n; > <???> @ 0x1409103e8\n; \n; This function is hookable on this platform (idp: pc, 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:25:40 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140057030\npush    rdi                                                            ; +0x5, 0x140057035\nsub     rsp, 20h                                                       ; +0x6, 0x140057036\ncmp     byte ptr [rcx+0DAh], 0                                         ; +0xa, 0x14005703a\nmov     rbx, rcx                                                       ; +0x11, 0x140057041\nmovzx   eax, byte ptr [rcx+3Ch]                                        ; +0x14, 0x140057044\nmov     cs:dword_140909780, 0                                          ; +0x18, 0x140057048\njz      short loc_14005708E                                            ; +0x22, 0x140057052\ntest    al, al                                                         ; +0x24, 0x140057054\njz      loc_1400570DF                                                  ; +0x26, 0x140057056\ncmp     qword ptr [rcx+0B8h], 0                                        ; +0x2c, 0x14005705c\njz      short loc_1400570DF                                            ; +0x34, 0x140057064\nmov     rcx, [rcx+0C0h]                                                ; +0x36, 0x140057066\ntest    rcx, rcx                                                       ; +0x3d, 0x14005706d\njz      short loc_14005707F                                            ; +0x40, 0x140057070\nmov     rax, [rcx]                                                     ; +0x42, 0x140057072\nlea     rdx, [rbx-198h]                                                ; +0x45, 0x140057075\ncall    qword ptr [rax+20h]                                            ; +0x4c, 0x14005707c\nmov     byte ptr [rbx+3Ch], 0                                          ; +0x4f, 0x14005707f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x53, 0x140057083\nadd     rsp, 20h                                                       ; +0x58, 0x140057088\npop     rdi                                                            ; +0x5c, 0x14005708c\nretn                                                                   ; +0x5d, 0x14005708d\ntest    al, al                                                         ; +0x5e, 0x14005708e\njz      short loc_1400570B2                                            ; +0x60, 0x140057090\ncmp     qword ptr [rcx+0B8h], 0                                        ; +0x62, 0x140057092\njz      short loc_1400570B2                                            ; +0x6a, 0x14005709a\nmov     rax, [rcx-198h]                                                ; +0x6c, 0x14005709c\nxor     edx, edx                                                       ; +0x73, 0x1400570a3\nadd     rcx, 0FFFFFFFFFFFFFE68h                                        ; +0x75, 0x1400570a5\ncall    qword ptr [rax+408h]                                           ; +0x7c, 0x1400570ac\ncmp     qword ptr [rbx+0B8h], 0                                        ; +0x82, 0x1400570b2\njz      short loc_1400570DF                                            ; +0x8a, 0x1400570ba\ncmp     byte ptr [rbx+3Dh], 0                                          ; +0x8c, 0x1400570bc\njz      short loc_1400570DF                                            ; +0x90, 0x1400570c0\nmov     rcx, [rbx+0C0h]                                                ; +0x92, 0x1400570c2\nmov     byte ptr [rbx+3Dh], 0                                          ; +0x99, 0x1400570c9\ntest    rcx, rcx                                                       ; +0x9d, 0x1400570cd\njz      short loc_1400570DF                                            ; +0xa0, 0x1400570d0\nmov     rax, [rcx]                                                     ; +0xa2, 0x1400570d2\nlea     rdx, [rbx-198h]                                                ; +0xa5, 0x1400570d5\ncall    qword ptr [rax+20h]                                            ; +0xac, 0x1400570dc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xaf, 0x1400570df\nadd     rsp, 20h                                                       ; +0xb4, 0x1400570e4\npop     rdi                                                            ; +0xb8, 0x1400570e8\nretn                                                                   ; +0xb9, 0x1400570e9", "xrefs": ["<???> @ 0x14070d660", "<???> @ 0x1409103e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}