{"type": "func", "start": 4048200, "end": 4048308, "name": "CCTextInputNode::keyboardWillHide", "pseudocode": "// \n// CCTextInputNode::keyboardWillHide from 0x3dc548 to 0x3dc5b4 (108 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x3dc5bc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:48 +0000\n// \n\nint __fastcall CCTextInputNode::keyboardWillHide(int result)\n{\n  int v1; // r1\n  int v2; // r4\n\n  v1 = *(unsigned __int8 *)(result + 434);\n  v2 = result;\n  CCTextInputNode::s_keyboardTop = 0;\n  if ( v1 )\n  {\n    if ( *(_BYTE *)(result + 344) && *(_DWORD *)(result + 416) )\n    {\n      result = *(_DWORD *)(result + 420);\n      if ( result )\n        result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 16))(result, v2);\n      *(_BYTE *)(v2 + 344) = 0;\n    }\n  }\n  else\n  {\n    if ( *(_BYTE *)(result + 344) && *(_DWORD *)(result + 416) )\n      result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 580))(result);\n    if ( *(_DWORD *)(v2 + 416) )\n    {\n      if ( *(_BYTE *)(v2 + 345) )\n      {\n        result = *(_DWORD *)(v2 + 420);\n        *(_BYTE *)(v2 + 345) = 0;\n        if ( result )\n          return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 16))(result, v2);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::keyboardWillHide from 0x3dc548 to 0x3dc5b4 (108 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x3dc5bc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:48 +0000\n; \nLDR             R3, =(_ZN15CCTextInputNode13s_keyboardTopE_ptr - 0x3DC552) ; +0x0, 0x3dc548\nMOVS            R2, #0                                                 ; +0x2, 0x3dc54a\nPUSH            {R4,LR}                                                ; +0x4, 0x3dc54c\nADD             R3, PC; _ZN15CCTextInputNode13s_keyboardTopE_ptr       ; +0x6, 0x3dc54e\nLDR             R3, [R3]; CCTextInputNode::s_keyboardTop ...           ; +0x8, 0x3dc550\nLDRB.W          R1, [R0,#0x1B2]                                        ; +0xa, 0x3dc552\nMOV             R4, R0                                                 ; +0xe, 0x3dc556\nSTR             R2, [R3]; CCTextInputNode::s_keyboardTop               ; +0x10, 0x3dc558\nLDRB.W          R3, [R0,#0x158]                                        ; +0x12, 0x3dc55a\nCBZ             R1, loc_3DC57E                                         ; +0x16, 0x3dc55e\nCBZ             R3, locret_3DC5B2                                      ; +0x18, 0x3dc560\nLDR.W           R3, [R0,#0x1A0]                                        ; +0x1a, 0x3dc562\nCBZ             R3, locret_3DC5B2                                      ; +0x1e, 0x3dc566\nLDR.W           R0, [R0,#0x1A4]                                        ; +0x20, 0x3dc568\nCBZ             R0, loc_3DC576                                         ; +0x24, 0x3dc56c\nLDR             R3, [R0]                                               ; +0x26, 0x3dc56e\nMOV             R1, R4                                                 ; +0x28, 0x3dc570\nLDR             R3, [R3,#0x10]                                         ; +0x2a, 0x3dc572\nBLX             R3                                                     ; +0x2c, 0x3dc574\nMOVS            R3, #0                                                 ; +0x2e, 0x3dc576\nSTRB.W          R3, [R4,#0x158]                                        ; +0x30, 0x3dc578\nPOP             {R4,PC}                                                ; +0x34, 0x3dc57c\nCBZ             R3, loc_3DC58E                                         ; +0x36, 0x3dc57e\nLDR.W           R3, [R0,#0x1A0]                                        ; +0x38, 0x3dc580\nCBZ             R3, loc_3DC58E                                         ; +0x3c, 0x3dc584\nLDR             R3, [R0]                                               ; +0x3e, 0x3dc586\nLDR.W           R3, [R3,#0x244]                                        ; +0x40, 0x3dc588\nBLX             R3                                                     ; +0x44, 0x3dc58c\nLDR.W           R3, [R4,#0x1A0]                                        ; +0x46, 0x3dc58e\nCBZ             R3, locret_3DC5B2                                      ; +0x4a, 0x3dc592\nLDRB.W          R3, [R4,#0x159]                                        ; +0x4c, 0x3dc594\nCBZ             R3, locret_3DC5B2                                      ; +0x50, 0x3dc598\nLDR.W           R0, [R4,#0x1A4]                                        ; +0x52, 0x3dc59a\nMOVS            R3, #0                                                 ; +0x56, 0x3dc59e\nSTRB.W          R3, [R4,#0x159]                                        ; +0x58, 0x3dc5a0\nCBZ             R0, locret_3DC5B2                                      ; +0x5c, 0x3dc5a4\nLDR             R3, [R0]                                               ; +0x5e, 0x3dc5a6\nMOV             R1, R4                                                 ; +0x60, 0x3dc5a8\nPOP.W           {R4,LR}                                                ; +0x62, 0x3dc5aa\nLDR             R3, [R3,#0x10]                                         ; +0x66, 0x3dc5ae\nBX              R3                                                     ; +0x68, 0x3dc5b0\nPOP             {R4,PC}                                                ; +0x6a, 0x3dc5b2", "xrefs": ["`non-virtual thunk to'CCTextInputNode::keyboardWillHide @ 0x3dc5bc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}