{"type": "func", "start": 4296932416, "end": 4296932502, "name": "EditLevelLayer::closeTextInputs", "pseudocode": "// \n// EditLevelLayer::closeTextInputs from 0x1001dfc40 to 0x1001dfc96 (86 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::FLAlert_Clicked @ 0x1001e0dc6\n// \n// This function is hookable on this platform (idp: pc, 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:26:28 +0000\n// \n\n__int64 __fastcall EditLevelLayer::closeTextInputs(__int64 a1)\n{\n  __int64 result; // rax\n  unsigned int v2; // r14d\n  __int64 v3; // rax\n\n  result = sub_1007FEF90(*(_QWORD *)(a1 + 480));\n  if ( (_DWORD)result )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 480), v2);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1160LL))(v3, 0);\n      ++v2;\n      result = sub_1007FEF90(*(_QWORD *)(a1 + 480));\n    }\n    while ( v2 < (unsigned int)result );\n  }\n  return result;\n}", "assembly": "; \n; EditLevelLayer::closeTextInputs from 0x1001dfc40 to 0x1001dfc96 (86 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::FLAlert_Clicked @ 0x1001e0dc6\n; \n; This function is hookable on this platform (idp: pc, 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:26:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001dfc40\nmov     rbp, rsp                                                       ; +0x1, 0x1001dfc41\npush    r14                                                            ; +0x4, 0x1001dfc44\npush    rbx                                                            ; +0x6, 0x1001dfc46\nmov     rbx, rdi                                                       ; +0x7, 0x1001dfc47\nmov     rdi, [rdi+1E0h]                                                ; +0xa, 0x1001dfc4a\ncall    sub_1007FEF90                                                  ; +0x11, 0x1001dfc51\ntest    eax, eax                                                       ; +0x16, 0x1001dfc56\njz      short loc_1001DFC91                                            ; +0x18, 0x1001dfc58\nxor     r14d, r14d                                                     ; +0x1a, 0x1001dfc5a\nnop     dword ptr [rax]                                                ; +0x1d, 0x1001dfc5d\nmov     rdi, [rbx+1E0h]                                                ; +0x20, 0x1001dfc60\nmov     esi, r14d                                                      ; +0x27, 0x1001dfc67\ncall    sub_1007FEFE0                                                  ; +0x2a, 0x1001dfc6a\nmov     rcx, [rax]                                                     ; +0x2f, 0x1001dfc6f\nmov     rdi, rax                                                       ; +0x32, 0x1001dfc72\nxor     esi, esi                                                       ; +0x35, 0x1001dfc75\ncall    qword ptr [rcx+488h]                                           ; +0x37, 0x1001dfc77\ninc     r14d                                                           ; +0x3d, 0x1001dfc7d\nmov     rdi, [rbx+1E0h]                                                ; +0x40, 0x1001dfc80\ncall    sub_1007FEF90                                                  ; +0x47, 0x1001dfc87\ncmp     r14d, eax                                                      ; +0x4c, 0x1001dfc8c\njb      short loc_1001DFC60                                            ; +0x4f, 0x1001dfc8f\npop     rbx                                                            ; +0x51, 0x1001dfc91\npop     r14                                                            ; +0x52, 0x1001dfc92\npop     rbp                                                            ; +0x54, 0x1001dfc94\nretn                                                                   ; +0x55, 0x1001dfc95", "xrefs": ["EditLevelLayer::FLAlert_Clicked @ 0x1001e0dc6"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}