{"type": "func", "start": 3121156, "end": 3121236, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x2fa004 to 0x2fa054 (80 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x2fa058\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; // r0\n  TextInputDelegate *v4; // r0\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      a1->m_unknown2 = 0;\n      v4 = a1->m_delegate;\n      if ( v4 )\n        v4->textInputReturn(v4, a1);\n    }\n  }\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x2fa004 to 0x2fa054 (80 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x2fa058\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\nLDRB.W          R3, [R0,#0x18E]                                        ; +0x0, 0x2fa004\nPUSH            {R4,LR}                                                ; +0x4, 0x2fa008\nMOV             R4, R0                                                 ; +0x6, 0x2fa00a\nCBZ             R3, loc_2FA030                                         ; +0x8, 0x2fa00c\nLDRB.W          R3, [R0,#0x150]                                        ; +0xa, 0x2fa00e\nCBZ             R3, locret_2FA052                                      ; +0xe, 0x2fa012\nLDR.W           R3, [R0,#0x17C]                                        ; +0x10, 0x2fa014\nCBZ             R3, locret_2FA052                                      ; +0x14, 0x2fa018\nLDR.W           R0, [R0,#0x180]                                        ; +0x16, 0x2fa01a\nCBZ             R0, loc_2FA028                                         ; +0x1a, 0x2fa01e\nLDR             R3, [R0]                                               ; +0x1c, 0x2fa020\nMOV             R1, R4                                                 ; +0x1e, 0x2fa022\nLDR             R3, [R3,#0x10]                                         ; +0x20, 0x2fa024\nBLX             R3                                                     ; +0x22, 0x2fa026\nMOVS            R3, #0                                                 ; +0x24, 0x2fa028\nSTRB.W          R3, [R4,#0x150]                                        ; +0x26, 0x2fa02a\nPOP             {R4,PC}                                                ; +0x2a, 0x2fa02e\nLDR.W           R2, [R0,#0x17C]                                        ; +0x2c, 0x2fa030\nCBZ             R2, locret_2FA052                                      ; +0x30, 0x2fa034\nLDRB.W          R2, [R0,#0x151]                                        ; +0x32, 0x2fa036\nCBZ             R2, locret_2FA052                                      ; +0x36, 0x2fa03a\nSTRB.W          R3, [R0,#0x151]                                        ; +0x38, 0x2fa03c\nLDR.W           R0, [R0,#0x180]                                        ; +0x3c, 0x2fa040\nCBZ             R0, locret_2FA052                                      ; +0x40, 0x2fa044\nLDR             R3, [R0]                                               ; +0x42, 0x2fa046\nMOV             R1, R4                                                 ; +0x44, 0x2fa048\nPOP.W           {R4,LR}                                                ; +0x46, 0x2fa04a\nLDR             R3, [R3,#0x10]                                         ; +0x4a, 0x2fa04e\nBX              R3                                                     ; +0x4c, 0x2fa050\nPOP             {R4,PC}                                                ; +0x4e, 0x2fa052", "xrefs": ["`non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x2fa058"], "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"}