{"type": "func", "start": 4295266608, "end": 4295266710, "name": "EditorUI::arrayContainsClass", "pseudocode": "// \n// EditorUI::arrayContainsClass from 0x100049130 to 0x100049196 (102 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall EditorUI::arrayContainsClass(EditorUI *a1, cocos2d::CCArray *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_100720070(a2) )\n    return 0;\n  while ( 1 )\n  {\n    result = *(_DWORD *)(sub_1007200C0(a2, v4) + 1248) == a3;\n    if ( result )\n      break;\n    if ( ++v4 >= (unsigned int)sub_100720070(a2) )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::arrayContainsClass from 0x100049130 to 0x100049196 (102 bytes)\n; \n; 0 xrefs:\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\ntest    rsi, rsi                                                       ; +0x0, 0x100049130\njz      short loc_100049193                                            ; +0x3, 0x100049133\npush    rbp                                                            ; +0x5, 0x100049135\nmov     rbp, rsp                                                       ; +0x6, 0x100049136\npush    r15                                                            ; +0x9, 0x100049139\npush    r14                                                            ; +0xb, 0x10004913b\npush    rbx                                                            ; +0xd, 0x10004913d\npush    rax                                                            ; +0xe, 0x10004913e\nmov     ebx, edx                                                       ; +0xf, 0x10004913f\nmov     r14, rsi                                                       ; +0x11, 0x100049141\nmov     rdi, rsi                                                       ; +0x14, 0x100049144\ncall    sub_100720070                                                  ; +0x17, 0x100049147\nxor     r15d, r15d                                                     ; +0x1c, 0x10004914c\ntest    eax, eax                                                       ; +0x1f, 0x10004914f\njz      short loc_100049186                                            ; +0x21, 0x100049151\nnop     word ptr [rax+rax+00000000h]                                   ; +0x23, 0x100049153\nmov     rdi, r14                                                       ; +0x30, 0x100049160\nmov     esi, r15d                                                      ; +0x33, 0x100049163\ncall    sub_1007200C0                                                  ; +0x36, 0x100049166\ncmp     [rax+4E0h], ebx                                                ; +0x3b, 0x10004916b\nsetz    al                                                             ; +0x41, 0x100049171\njz      short loc_100049188                                            ; +0x44, 0x100049174\ninc     r15d                                                           ; +0x46, 0x100049176\nmov     rdi, r14                                                       ; +0x49, 0x100049179\ncall    sub_100720070                                                  ; +0x4c, 0x10004917c\ncmp     r15d, eax                                                      ; +0x51, 0x100049181\njb      short loc_100049160                                            ; +0x54, 0x100049184\nxor     eax, eax                                                       ; +0x56, 0x100049186\nadd     rsp, 8                                                         ; +0x58, 0x100049188\npop     rbx                                                            ; +0x5c, 0x10004918c\npop     r14                                                            ; +0x5d, 0x10004918d\npop     r15                                                            ; +0x5f, 0x10004918f\npop     rbp                                                            ; +0x61, 0x100049191\nretn                                                                   ; +0x62, 0x100049192\nxor     eax, eax                                                       ; +0x63, 0x100049193\nretn                                                                   ; +0x65, 0x100049195", "xrefs": [], "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"}