{"type": "func", "start": 4732796, "end": 4732844, "name": "EditorUI::arrayContainsClass", "pseudocode": "// \n// EditorUI::arrayContainsClass from 0x48377c to 0x4837ac (48 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editButton2Usable @ 0x4837f8\n// > EditorUI::editObjectSpecial @ 0x483a02\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:49:24 +0000\n// \n\nint __fastcall EditorUI::arrayContainsClass(EditorUI *this, cocos2d::CCArray *a2, int a3)\n{\n  unsigned int i; // r4\n\n  if ( a2 )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )\n    {\n      if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(a2, i) + 1084) == a3 )\n        return 1;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EditorUI::arrayContainsClass from 0x48377c to 0x4837ac (48 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editButton2Usable @ 0x4837f8\n; > EditorUI::editObjectSpecial @ 0x483a02\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:49:24 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x48377c\nMOV             R6, R2                                                 ; +0x2, 0x48377e\nMOV             R5, R1                                                 ; +0x4, 0x483780\nCBNZ            R1, loc_483788                                         ; +0x6, 0x483782\nMOVS            R0, #0                                                 ; +0x8, 0x483784\nPOP             {R4-R6,PC}                                             ; +0xa, 0x483786\nMOVS            R4, #0                                                 ; +0xc, 0x483788\nMOV             R0, R5; this                                           ; +0xe, 0x48378a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x48378c\nCMP             R4, R0                                                 ; +0x14, 0x483790\nBCS             loc_483784                                             ; +0x16, 0x483792\nMOV             R0, R5; this                                           ; +0x18, 0x483794\nMOV             R1, R4; unsigned int                                   ; +0x1a, 0x483796\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c, 0x483798\nLDR.W           R3, [R0,#0x43C]                                        ; +0x20, 0x48379c\nCMP             R3, R6                                                 ; +0x24, 0x4837a0\nBEQ             loc_4837A8                                             ; +0x26, 0x4837a2\nADDS            R4, #1                                                 ; +0x28, 0x4837a4\nB               loc_48378A                                             ; +0x2a, 0x4837a6\nMOVS            R0, #1                                                 ; +0x2c, 0x4837a8\nPOP             {R4-R6,PC}                                             ; +0x2e, 0x4837aa", "xrefs": ["EditorUI::editButton2Usable @ 0x4837f8", "EditorUI::editObjectSpecial @ 0x483a02"], "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"}