// // SetTextPopup::onClose from 0x4a8014 to 0x4a809a (134 bytes) // // 2 xrefs: // > SetTextPopup::onCancel @ 0x4a80a8 // > SetTextPopup::keyBackClicked @ 0x4a80ae // // 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 SetTextPopup::onClose(SetTextPopup *a1, cocos2d::CCObject *a2) { SetTextPopupDelegate *m_delegate; // r7 void (__fastcall *setTextPopupClosed)(SetTextPopupDelegate *__hidden, SetTextPopup *, std::string); // r8 _DWORD v5[2]; // [sp+0h] [bp-8h] BYREF v5[0] = a1; v5[1] = a2; a1->m_input->m_delegate = nullptr; ((void (__fastcall *)(CCTextInputNode *))a1->m_input->onClickTrackNode)(a1->m_input); m_delegate = a1->m_delegate; if ( m_delegate && !a1->m_cancelled ) { setTextPopupClosed = m_delegate->setTextPopupClosed; sub_775C20(v5); ((void (__fastcall *)(SetTextPopupDelegate *, SetTextPopup *, _DWORD *))setTextPopupClosed)(m_delegate, a1, v5); sub_774008(v5); } a1->setKeypadEnabled(a1, 0); a1->removeFromParentAndCleanup(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source