{"type": "func", "start": 5854136, "end": 5854272, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x5953b8 to 0x595440 (136 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x595444\n// > <???> @ 0x58458\n// > <???> @ 0x1141338\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 CCTextInputNode::keyboardWillHide(CCTextInputNode *a1, cocos2d::CCIMEKeyboardNotificationInfo *a2)\n{\n  TextInputDelegate *m_delegate; // x0\n  TextInputDelegate *v4; // x0\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        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      v4 = a1->m_delegate;\n      a1->m_unknown2 = 0;\n      if ( v4 )\n        v4->textInputReturn(v4, a1);\n    }\n  }\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x5953b8 to 0x595440 (136 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x595444\n; > <???> @ 0x58458\n; > <???> @ 0x1141338\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x5953b8\nMOV             X29, SP                                                ; +0x4, 0x5953bc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x5953c0\nMOV             X19, X0                                                ; +0xc, 0x5953c4\nLDRB            W0, [X0,#0x21A]                                        ; +0x10, 0x5953c8\nCBZ             W0, loc_595408                                         ; +0x14, 0x5953cc\nLDRB            W0, [X19,#0x1BC]                                       ; +0x18, 0x5953d0\nCBZ             W0, loc_5953FC                                         ; +0x1c, 0x5953d4\nLDR             X0, [X19,#0x1F8]                                       ; +0x20, 0x5953d8\nCBZ             X0, loc_5953FC                                         ; +0x24, 0x5953dc\nLDR             X0, [X19,#0x200]                                       ; +0x28, 0x5953e0\nCBZ             X0, loc_5953F8                                         ; +0x2c, 0x5953e4\nLDR             X2, [X0]                                               ; +0x30, 0x5953e8\nMOV             X1, X19                                                ; +0x34, 0x5953ec\nLDR             X2, [X2,#0x20]                                         ; +0x38, 0x5953f0\nBLR             X2                                                     ; +0x3c, 0x5953f4\nSTRB            WZR, [X19,#0x1BC]                                      ; +0x40, 0x5953f8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0x5953fc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0x595400\nRET                                                                    ; +0x4c, 0x595404\nLDR             X0, [X19,#0x1F8]                                       ; +0x50, 0x595408\nCBZ             X0, loc_5953FC                                         ; +0x54, 0x59540c\nLDRB            W0, [X19,#0x1BD]                                       ; +0x58, 0x595410\nCBZ             W0, loc_5953FC                                         ; +0x5c, 0x595414\nLDR             X0, [X19,#0x200]                                       ; +0x60, 0x595418\nSTRB            WZR, [X19,#0x1BD]                                      ; +0x64, 0x59541c\nCBZ             X0, loc_5953FC                                         ; +0x68, 0x595420\nLDR             X2, [X0]                                               ; +0x6c, 0x595424\nMOV             X1, X19                                                ; +0x70, 0x595428\nLDR             X2, [X2,#0x20]                                         ; +0x74, 0x59542c\nBLR             X2                                                     ; +0x78, 0x595430\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x7c, 0x595434\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x80, 0x595438\nRET                                                                    ; +0x84, 0x59543c", "xrefs": ["`non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x595444", "<???> @ 0x58458", "<???> @ 0x1141338"], "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"}