{"type": "func", "start": 4295619648, "end": 4295619780, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x10009f440 to 0x10009f4c4 (132 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b6c08\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CCTextInputNode::keyboardWillHide(CCTextInputNode *a1, cocos2d::CCIMEKeyboardNotificationInfo *a2)\n{\n  TextInputDelegate *m_delegate; // rax\n  TextInputDelegate *v3; // rax\n\n  if ( a1->m_forceOffset )\n  {\n    if ( a1->m_selected && a1->m_textField )\n    {\n      m_delegate = a1->m_delegate;\n      if ( m_delegate )\n        ((void (__fastcall *)(TextInputDelegate *, CCTextInputNode *))m_delegate->textInputReturn)(m_delegate, a1);\n      a1->m_selected = 0;\n    }\n  }\n  else if ( a1->m_textField )\n  {\n    if ( a1->m_unknown2 )\n    {\n      a1->m_unknown2 = 0;\n      v3 = a1->m_delegate;\n      if ( v3 )\n        ((void (__fastcall *)(TextInputDelegate *, CCTextInputNode *))v3->textInputReturn)(a1->m_delegate, a1);\n    }\n  }\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x10009f440 to 0x10009f4c4 (132 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b6c08\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     byte ptr [rdi+23Ah], 1                                         ; +0x0, 0x10009f440\njnz     short loc_10009F48E                                            ; +0x7, 0x10009f447\ncmp     byte ptr [rdi+1CCh], 1                                         ; +0x9, 0x10009f449\njnz     short locret_10009F4C3                                         ; +0x10, 0x10009f450\ncmp     qword ptr [rdi+218h], 0                                        ; +0x12, 0x10009f452\njz      short locret_10009F4C3                                         ; +0x1a, 0x10009f45a\nmov     rax, [rdi+220h]                                                ; +0x1c, 0x10009f45c\ntest    rax, rax                                                       ; +0x23, 0x10009f463\njz      short loc_10009F486                                            ; +0x26, 0x10009f466\npush    rbp                                                            ; +0x28, 0x10009f468\nmov     rbp, rsp                                                       ; +0x29, 0x10009f469\npush    rbx                                                            ; +0x2c, 0x10009f46c\npush    rax                                                            ; +0x2d, 0x10009f46d\nmov     rcx, [rax]                                                     ; +0x2e, 0x10009f46e\nmov     rbx, rdi                                                       ; +0x31, 0x10009f471\nmov     rdi, rax                                                       ; +0x34, 0x10009f474\nmov     rsi, rbx                                                       ; +0x37, 0x10009f477\ncall    qword ptr [rcx+20h]                                            ; +0x3a, 0x10009f47a\nmov     rdi, rbx                                                       ; +0x3d, 0x10009f47d\nadd     rsp, 8                                                         ; +0x40, 0x10009f480\npop     rbx                                                            ; +0x44, 0x10009f484\npop     rbp                                                            ; +0x45, 0x10009f485\nmov     byte ptr [rdi+1CCh], 0                                         ; +0x46, 0x10009f486\nretn                                                                   ; +0x4d, 0x10009f48d\ncmp     qword ptr [rdi+218h], 0                                        ; +0x4e, 0x10009f48e\njz      short locret_10009F4C3                                         ; +0x56, 0x10009f496\ncmp     byte ptr [rdi+1CDh], 1                                         ; +0x58, 0x10009f498\njnz     short locret_10009F4C3                                         ; +0x5f, 0x10009f49f\nmov     byte ptr [rdi+1CDh], 0                                         ; +0x61, 0x10009f4a1\nmov     rax, [rdi+220h]                                                ; +0x68, 0x10009f4a8\ntest    rax, rax                                                       ; +0x6f, 0x10009f4af\njz      short locret_10009F4C3                                         ; +0x72, 0x10009f4b2\nmov     rcx, [rax]                                                     ; +0x74, 0x10009f4b4\nmov     rcx, [rcx+20h]                                                 ; +0x77, 0x10009f4b7\nmov     rsi, rdi                                                       ; +0x7b, 0x10009f4bb\nmov     rdi, rax                                                       ; +0x7e, 0x10009f4be\njmp     rcx                                                            ; +0x81, 0x10009f4c1\nretn                                                                   ; +0x83, 0x10009f4c3", "xrefs": ["<???> @ 0x1008b6c08"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}