{"type": "func", "start": 6743400, "end": 6743482, "name": "EditorUI::createExtras", "pseudocode": "// \n// EditorUI::createExtras from 0x66e568 to 0x66e5ba (82 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createSmartObjectsFromType @ 0x482db6\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:55:47 +0000\n// \n\ncocos2d::CCArray *__fastcall EditorUI::createExtras(EditorUI *this, cocos2d::CCArray *a2)\n{\n  cocos2d::CCArray *v4; // r0\n  cocos2d::CCArray *v6; // r0\n  unsigned int v7; // r5\n  cocos2d::CCArray *v8; // r4\n  GameObject *v9; // r0\n  int v10; // r1\n\n  if ( !a2 )\n    return nullptr;\n  v4 = (cocos2d::CCArray *)cocos2d::CCArray::count(a2);\n  if ( !v4 )\n    return nullptr;\n  v6 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4);\n  v7 = 0;\n  v8 = (cocos2d::CCArray *)cocos2d::CCArray::create(v6);\n  while ( v7 < cocos2d::CCArray::count(a2) )\n  {\n    v9 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v7);\n    v10 = *((_DWORD *)v9 + 223);\n    if ( (unsigned int)(v10 - 2808) <= 0x1D )\n      EditorUI::createExtrasForObject(this, v10, v9, v8);\n    ++v7;\n  }\n  return v8;\n}", "assembly": "; \n; EditorUI::createExtras from 0x66e568 to 0x66e5ba (82 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createSmartObjectsFromType @ 0x482db6\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:55:47 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x66e568\nMOV             R7, R0                                                 ; +0x2, 0x66e56a\nMOV             R6, R1                                                 ; +0x4, 0x66e56c\nCBZ             R1, loc_66E578                                         ; +0x6, 0x66e56e\nMOV             R0, R1; this                                           ; +0x8, 0x66e570\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x66e572\nCBNZ            R0, loc_66E57C                                         ; +0xe, 0x66e576\nMOVS            R0, #0                                                 ; +0x10, 0x66e578\nPOP             {R3-R7,PC}                                             ; +0x12, 0x66e57a\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x14, 0x66e57c\nMOVS            R5, #0                                                 ; +0x18, 0x66e580\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x1a, 0x66e582\nMOV             R4, R0                                                 ; +0x1e, 0x66e586\nMOV             R0, R6; this                                           ; +0x20, 0x66e588\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x22, 0x66e58a\nCMP             R5, R0                                                 ; +0x26, 0x66e58e\nBCS             loc_66E5AC                                             ; +0x28, 0x66e590\nMOV             R1, R5; unsigned int                                   ; +0x2a, 0x66e592\nMOV             R0, R6; this                                           ; +0x2c, 0x66e594\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2e, 0x66e596\nLDR.W           R1, [R0,#0x37C]; int                                   ; +0x32, 0x66e59a\nMOV             R2, R0; GameObject *                                   ; +0x36, 0x66e59e\nSUBW            R3, R1, #0xAF8                                         ; +0x38, 0x66e5a0\nCMP             R3, #0x1D                                              ; +0x3c, 0x66e5a4\nBLS             loc_66E5B0                                             ; +0x3e, 0x66e5a6\nADDS            R5, #1                                                 ; +0x40, 0x66e5a8\nB               loc_66E588                                             ; +0x42, 0x66e5aa\nMOV             R0, R4                                                 ; +0x44, 0x66e5ac\nPOP             {R3-R7,PC}                                             ; +0x46, 0x66e5ae\nMOV             R0, R7; this                                           ; +0x48, 0x66e5b0\nMOV             R3, R4; cocos2d::CCArray *                             ; +0x4a, 0x66e5b2\nBL              _ZN8EditorUI21createExtrasForObjectEiP10GameObjectPN7cocos2d7CCArrayE; EditorUI::createExtrasForObject(int,GameObject *,cocos2d::CCArray *) ; +0x4c, 0x66e5b4\nB               loc_66E5A8                                             ; +0x50, 0x66e5b8", "xrefs": ["EditorUI::createSmartObjectsFromType @ 0x482db6"], "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"}