// // SetTextPopup::onClose from 0x1002dfe44 to 0x1002dff10 (204 bytes) // // 4 xrefs: // > SetTextPopup::onCancel @ 0x1002dff64 // > SetTextPopup::keyBackClicked @ 0x1002e00f4 // > sub_1002E00F8 @ 0x1002e00fc // > SetTextPopup::init @ 0x1002dfa00 // // 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 __fastcall SetTextPopup::onClose(SetTextPopup *a1, cocos2d::CCObject *a2) { CCTextInputNode *m_input; // x0 SetTextPopupDelegate *m_delegate; // x20 void *__p[2]; // [xsp+0h] [xbp-30h] BYREF char *longStorage; // [xsp+10h] [xbp-20h] m_input = a1->m_input; m_input->m_delegate = nullptr; ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_input->onClickTrackNode)(m_input, 0); m_delegate = a1->m_delegate; if ( m_delegate && !a1->m_cancelled ) { if ( a1->m_value.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0(__p, (void *)a1->m_value.m_data.m_long.capacitym1, a1->m_value.m_data.m_long.size); } else { *(_OWORD *)__p = *(_OWORD *)&a1->m_value.m_data.m_short.sizex2; longStorage = a1->m_value.m_data.m_long.longStorage; } ((void (__fastcall *)(SetTextPopupDelegate *, SetTextPopup *, void **))m_delegate->setTextPopupClosed)( m_delegate, a1, __p); if ( SHIBYTE(longStorage) < 0 ) operator delete(__p[0]); } ((void (__fastcall *)(SetTextPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(SetTextPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source