{"type": "func", "start": 4295068368, "end": 4295068470, "name": "EditorUI::arrayContainsClass", "pseudocode": "// \n// EditorUI::arrayContainsClass from 0x100018ad0 to 0x100018b36 (102 bytes)\n// \n// 0 xrefs:\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:18:55 +0000\n// \n\nbool __fastcall EditorUI::arrayContainsClass(__int64 a1, __int64 a2, int a3)\n{\n  unsigned int v4; // r15d\n  bool result; // al\n\n  if ( !a2 )\n    return 0;\n  v4 = 0;\n  if ( !(unsigned int)sub_1007FEF90(a2) )\n    return 0;\n  while ( 1 )\n  {\n    result = *(_DWORD *)(sub_1007FEFE0(a2, v4) + 1248) == a3;\n    if ( result )\n      break;\n    if ( ++v4 >= (unsigned int)sub_1007FEF90(a2) )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::arrayContainsClass from 0x100018ad0 to 0x100018b36 (102 bytes)\n; \n; 0 xrefs:\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:18:55 +0000\n; \ntest    rsi, rsi                                                       ; +0x0, 0x100018ad0\njz      short loc_100018B33                                            ; +0x3, 0x100018ad3\npush    rbp                                                            ; +0x5, 0x100018ad5\nmov     rbp, rsp                                                       ; +0x6, 0x100018ad6\npush    r15                                                            ; +0x9, 0x100018ad9\npush    r14                                                            ; +0xb, 0x100018adb\npush    rbx                                                            ; +0xd, 0x100018add\npush    rax                                                            ; +0xe, 0x100018ade\nmov     ebx, edx                                                       ; +0xf, 0x100018adf\nmov     r14, rsi                                                       ; +0x11, 0x100018ae1\nmov     rdi, rsi                                                       ; +0x14, 0x100018ae4\ncall    sub_1007FEF90                                                  ; +0x17, 0x100018ae7\nxor     r15d, r15d                                                     ; +0x1c, 0x100018aec\ntest    eax, eax                                                       ; +0x1f, 0x100018aef\njz      short loc_100018B26                                            ; +0x21, 0x100018af1\nnop     word ptr [rax+rax+00000000h]                                   ; +0x23, 0x100018af3\nmov     rdi, r14                                                       ; +0x30, 0x100018b00\nmov     esi, r15d                                                      ; +0x33, 0x100018b03\ncall    sub_1007FEFE0                                                  ; +0x36, 0x100018b06\ncmp     [rax+4E0h], ebx                                                ; +0x3b, 0x100018b0b\nsetz    al                                                             ; +0x41, 0x100018b11\njz      short loc_100018B28                                            ; +0x44, 0x100018b14\ninc     r15d                                                           ; +0x46, 0x100018b16\nmov     rdi, r14                                                       ; +0x49, 0x100018b19\ncall    sub_1007FEF90                                                  ; +0x4c, 0x100018b1c\ncmp     r15d, eax                                                      ; +0x51, 0x100018b21\njb      short loc_100018B00                                            ; +0x54, 0x100018b24\nxor     eax, eax                                                       ; +0x56, 0x100018b26\nadd     rsp, 8                                                         ; +0x58, 0x100018b28\npop     rbx                                                            ; +0x5c, 0x100018b2c\npop     r14                                                            ; +0x5d, 0x100018b2d\npop     r15                                                            ; +0x5f, 0x100018b2f\npop     rbp                                                            ; +0x61, 0x100018b31\nretn                                                                   ; +0x62, 0x100018b32\nxor     eax, eax                                                       ; +0x63, 0x100018b33\nretn                                                                   ; +0x65, 0x100018b35", "xrefs": [], "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"}