{"type": "func", "start": 7043976, "end": 7044164, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x6b7b88 to 0x6b7c44 (188 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x6b7c48\n// > <???> @ 0x799a8\n// > <???> @ 0x141ff18\n// \n// This function is hookable on this platform (idp: arm, 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 12:50:53 +0000\n// \n\n__int64 __fastcall CCTextInputNode::keyboardWillHide(__int64 result)\n{\n  __int64 v1; // x19\n  int v2; // w2\n\n  v1 = result;\n  v2 = *(unsigned __int8 *)(result + 610);\n  CCTextInputNode::s_keyboardTop = 0;\n  if ( v2 )\n  {\n    result = *(unsigned __int8 *)(result + 460);\n    if ( (_DWORD)result )\n    {\n      result = *(_QWORD *)(v1 + 576);\n      if ( result )\n      {\n        result = *(_QWORD *)(v1 + 584);\n        if ( result )\n          result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 32LL))(result, v1);\n        *(_BYTE *)(v1 + 460) = 0;\n      }\n    }\n  }\n  else\n  {\n    if ( *(_BYTE *)(result + 460) )\n    {\n      if ( !*(_QWORD *)(result + 576) )\n        return result;\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 1160LL))(result, 0);\n    }\n    result = *(_QWORD *)(v1 + 576);\n    if ( result )\n    {\n      result = *(unsigned __int8 *)(v1 + 461);\n      if ( *(_BYTE *)(v1 + 461) )\n      {\n        result = *(_QWORD *)(v1 + 584);\n        *(_BYTE *)(v1 + 461) = 0;\n        if ( result )\n          return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 32LL))(result, v1);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x6b7b88 to 0x6b7c44 (188 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x6b7c48\n; > <???> @ 0x799a8\n; > <???> @ 0x141ff18\n; \n; This function is hookable on this platform (idp: arm, 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 12:50:53 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6b7b88\nADRP            X1, #_ZN15CCTextInputNode13s_keyboardTopE_ptr@PAGE     ; +0x4, 0x6b7b8c\nMOV             X29, SP                                                ; +0x8, 0x6b7b90\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x6b7b94\nMOV             X19, X0                                                ; +0x10, 0x6b7b98\nFMOV            S0, WZR                                                ; +0x14, 0x6b7b9c\nLDR             X1, [X1,#_ZN15CCTextInputNode13s_keyboardTopE_ptr@PAGEOFF]; CCTextInputNode::s_keyboardTop ... ; +0x18, 0x6b7ba0\nLDRB            W2, [X0,#0x262]                                        ; +0x1c, 0x6b7ba4\nSTR             S0, [X1]; CCTextInputNode::s_keyboardTop               ; +0x20, 0x6b7ba8\nCBZ             W2, loc_6B7BE8                                         ; +0x24, 0x6b7bac\nLDRB            W0, [X0,#0x1CC]                                        ; +0x28, 0x6b7bb0\nCBZ             W0, loc_6B7BDC                                         ; +0x2c, 0x6b7bb4\nLDR             X0, [X19,#0x240]                                       ; +0x30, 0x6b7bb8\nCBZ             X0, loc_6B7BDC                                         ; +0x34, 0x6b7bbc\nLDR             X0, [X19,#0x248]                                       ; +0x38, 0x6b7bc0\nCBZ             X0, loc_6B7BD8                                         ; +0x3c, 0x6b7bc4\nLDR             X2, [X0]                                               ; +0x40, 0x6b7bc8\nMOV             X1, X19                                                ; +0x44, 0x6b7bcc\nLDR             X2, [X2,#0x20]                                         ; +0x48, 0x6b7bd0\nBLR             X2                                                     ; +0x4c, 0x6b7bd4\nSTRB            WZR, [X19,#0x1CC]                                      ; +0x50, 0x6b7bd8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x6b7bdc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x6b7be0\nRET                                                                    ; +0x5c, 0x6b7be4\nLDRB            W1, [X0,#0x1CC]                                        ; +0x60, 0x6b7be8\nCBNZ            W1, loc_6B7C28                                         ; +0x64, 0x6b7bec\nLDR             X0, [X19,#0x240]                                       ; +0x68, 0x6b7bf0\nCBZ             X0, loc_6B7BDC                                         ; +0x6c, 0x6b7bf4\nLDRB            W0, [X19,#0x1CD]                                       ; +0x70, 0x6b7bf8\nCBZ             W0, loc_6B7BDC                                         ; +0x74, 0x6b7bfc\nLDR             X0, [X19,#0x248]                                       ; +0x78, 0x6b7c00\nSTRB            WZR, [X19,#0x1CD]                                      ; +0x7c, 0x6b7c04\nCBZ             X0, loc_6B7BDC                                         ; +0x80, 0x6b7c08\nLDR             X2, [X0]                                               ; +0x84, 0x6b7c0c\nMOV             X1, X19                                                ; +0x88, 0x6b7c10\nLDR             X2, [X2,#0x20]                                         ; +0x8c, 0x6b7c14\nBLR             X2                                                     ; +0x90, 0x6b7c18\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x94, 0x6b7c1c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x98, 0x6b7c20\nRET                                                                    ; +0x9c, 0x6b7c24\nLDR             X1, [X0,#0x240]                                        ; +0xa0, 0x6b7c28\nCBZ             X1, loc_6B7BDC                                         ; +0xa4, 0x6b7c2c\nLDR             X2, [X0]                                               ; +0xa8, 0x6b7c30\nMOV             W1, #0                                                 ; +0xac, 0x6b7c34\nLDR             X2, [X2,#0x488]                                        ; +0xb0, 0x6b7c38\nBLR             X2                                                     ; +0xb4, 0x6b7c3c\nB               loc_6B7BF0                                             ; +0xb8, 0x6b7c40", "xrefs": ["`non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x6b7c48", "<???> @ 0x799a8", "<???> @ 0x141ff18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}