//
// cocos2d::CCArray::createWithObject from 0x7c9144 to 0x7c9176 (50 bytes)
//
// 36 xrefs:
// > LevelEditorLayer::forceShowSelectedObjects @ 0x4614d2
// > LevelEditorLayer::manualUpdateObjectColors @ 0x4618d6
// > LevelEditorLayer::handleAction @ 0x46ef60
// > EditorUI::onTargetIDChange @ 0x484566
// > EditorUI::updateObjectInfoLabel @ 0x489234
// > EditorUI::onAssignNewGroupID @ 0x48cace
// > EditLevelLayer::onExportLevel @ 0x49fbe8
// > EditorPauseLayer::FLAlert_Clicked @ 0x509584
// > GJRewardItem::createWithObject @ 0x51996c
// > SFXSearchResult::updateObjects @ 0x5714e2
// > SFXSearchResult::updateObjects @ 0x5716c4
// > SFXSearchResult::updateObjects @ 0x571828
// > ConfigureHSVWidget::getHSV @ 0x5e4c20
// > SetupObjectTogglePopup::valueDidChange @ 0x5ea176
// > SetupSpawnPopup::addRemap @ 0x5eaa76
// > SetupSpawnPopup::onDeleteRemap @ 0x5eab44
// > SetupSpawnPopup::updateRemapButtons @ 0x5eadb6
// > SetupRotatePopup::onClose @ 0x628e38
// > SetupObjectOptionsPopup::onDisableObject @ 0x639868
// > HSVLiveOverlay::hsvChanged @ 0x69c21a
// > SetupKeyframePopup::refreshPreviewArt @ 0x6aef7c
// > SetupKeyframePopup::onCustomButton @ 0x6af094
// > SetupKeyframePopup::onCustomButton @ 0x6af18e
// > SetupSFXPopup::onClose @ 0x6afd4c
// > SetupStopTriggerPopup::onClose @ 0x6b2fdc
// > SetupEventLinkPopup::updateEventIDs @ 0x6baaf8
// > GJTransformControl::loadValues @ 0x6eedd4
// > EditorUI::ccTouchEnded @ 0x6f0cdc
// > EditorUI::ccTouchEnded @ 0x6f0dde
// > EditorUI::handleEditorAction @ 0x6f264c
// > EditorUI::getSelectedObjects @ 0x6f4436
// > EditorUI::selectObject @ 0x6f45ac
// > EditorUI::transformObjectCall @ 0x70e59c
// > EditorUI::transformObjectsActive @ 0x70fe54
// > EditorUI::transformObjectsReset @ 0x70ffac
// > EditorUI::updateTransformControl @ 0x7101c2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:28 +0000
//
cocos2d::CCArray *__fastcall cocos2d::CCArray::createWithObject(cocos2d::CCArray *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v3; // r4
int v4; // r3
cocos2d::CCArray *v5; // r0
v3 = (cocos2d::CCArray *)operator new(0x38u);
cocos2d::CCArray::CCArray(v3);
if ( cocos2d::CCArray::initWithObject(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(cocos2d::CCArray *))(v4 + 8))(v5);
}
return v3;
}