//
// cocos2d::CCArray::createWithObject from 0xd4714c to 0xd471bc (112 bytes)
//
// 37 xrefs:
// > LevelEditorLayer::forceShowSelectedObjects @ 0x78bcf0
// > LevelEditorLayer::manualUpdateObjectColors @ 0x78c2c8
// > LevelEditorLayer::handleAction @ 0x7a2314
// > EditorUI::onTargetIDChange @ 0x7c6644
// > EditorUI::updateObjectInfoLabel @ 0x7cdab4
// > EditorUI::onAssignNewGroupID @ 0x7d2198
// > EditLevelLayer::onExportLevel @ 0x7ee214
// > EditorPauseLayer::FLAlert_Clicked @ 0x8b70c8
// > GJRewardItem::createWithObject @ 0x8cf9b8
// > SFXSearchResult::updateObjects @ 0x96a8b0
// > SFXSearchResult::updateObjects @ 0x96aa20
// > SFXSearchResult::updateObjects @ 0x96ae44
// > ConfigureHSVWidget::getHSV @ 0xa3a55c
// > SetupObjectTogglePopup::valueDidChange @ 0xa41edc
// > SetupSpawnPopup::addRemap @ 0xa42bcc
// > SetupSpawnPopup::onDeleteRemap @ 0xa42d1c
// > SetupSpawnPopup::updateRemapButtons @ 0xa430f8
// > SetupRotatePopup::onClose @ 0xaa055c
// > SetupObjectOptionsPopup::onDisableObject @ 0xab9488
// > HSVLiveOverlay::hsvChanged @ 0xb50608
// > SetupKeyframePopup::refreshPreviewArt @ 0xb6b43c
// > SetupKeyframePopup::onCustomButton @ 0xb6b664
// > SetupKeyframePopup::onCustomButton @ 0xb6bad4
// > SetupSFXPopup::onClose @ 0xb6c954
// > SetupStopTriggerPopup::onClose @ 0xb71b7c
// > SetupEventLinkPopup::updateEventIDs @ 0xb7f428
// > GJTransformControl::loadValues @ 0xbd3790
// > EditorUI::ccTouchEnded @ 0xbd65a0
// > EditorUI::ccTouchEnded @ 0xbd66a0
// > EditorUI::handleEditorAction @ 0xbd8540
// > EditorUI::getSelectedObjects @ 0xbdc974
// > EditorUI::selectObject @ 0xbdcb78
// > EditorUI::transformObjectCall @ 0xc01ad8
// > EditorUI::transformObjectsActive @ 0xc04098
// > EditorUI::transformObjectsReset @ 0xc04224
// > EditorUI::updateTransformControl @ 0xc043b0
// > ??> @ 0xe3b48
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:35 +0000
//
cocos2d::CCArray *__fastcall cocos2d::CCArray::createWithObject(cocos2d::CCArray *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v2; // x19
v2 = (cocos2d::CCArray *)operator new(0x40u);
cocos2d::CCArray::CCArray(v2);
if ( (unsigned __int8)cocos2d::CCArray::initWithObject(v2, this) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCArray *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}