//
// CustomizeObjectLayer::onBreakApart from 0x982bac to 0x982bf0 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x4e808
// > CustomizeObjectLayer::init @ 0x986bc0
// > ??> @ 0x1541a08
//
// 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 12:57:52 +0000
//
_QWORD *__fastcall CustomizeObjectLayer::onBreakApart(_QWORD *this, cocos2d::CCObject *a2)
{
_QWORD *v2; // x19
GameManager *v3; // x0
__int64 v4; // x0
if ( *(this + 86) )
{
v2 = this;
v3 = (GameManager *)CustomizeObjectLayer::onClose((CustomizeObjectLayer *)this, nullptr);
v4 = GameManager::sharedState(v3);
return (_QWORD *)LevelEditorLayer::breakApartTextObject(*(LevelEditorLayer **)(v4 + 552), (TextGameObject *)v2[86]);
}
return this;
}