// // CustomizeObjectLayer::onClear from 0x1400a9a90 to 0x1400a9b15 (133 bytes) // // 3 xrefs: // > CustomizeObjectLayer::textInputOpened @ 0x1400a97ba // > CustomizeObjectLayer::init @ 0x1400a76b7 // > @ 0x1406c786c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CustomizeObjectLayer::onClear(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { GameObject *m_targetObject; // rcx CCTextInputNode *m_textInput; // rcx __int128 v5; // [rsp+20h] [rbp-28h] BYREF __int64 v6; // [rsp+30h] [rbp-18h] __int64 v7; // [rsp+38h] [rbp-10h] m_targetObject = a1->m_targetObject; if ( m_targetObject ) { a1->m_disableTextDelegate = 1; v5 = 0; LOBYTE(v5) = 0; v6 = 0; v7 = 15; TextGameObject::updateTextObject(m_targetObject, &v5, 0); m_textInput = a1->m_textInput; v6 = 0; v5 = 0; LOBYTE(v5) = 0; v7 = 15; CCTextInputNode::setString((__int64)m_textInput, &v5); a1->m_disableTextDelegate = 0; } }