// // SetIDPopup::onCancel from 0x1002ac490 to 0x1002ac524 (148 bytes) // // 1 xrefs: // > SetIDPopup::init @ 0x1002ac29f // // 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 SetIDPopup::onCancel(SetIDPopup *a1, cocos2d::CCObject *a2) { CCTextInputNode *m_inputNode; // rdi int m_value; // edx SetIDPopupDelegate *m_delegate; // rdi a1->m_cancelled = 1; m_inputNode = a1->m_inputNode; m_inputNode->m_delegate = nullptr; ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_inputNode->onClickTrackNode)(m_inputNode, 0); m_value = a1->m_value; if ( a1->m_maximum < m_value ) m_value = a1->m_maximum; if ( a1->m_minimum > m_value ) m_value = a1->m_minimum; a1->m_value = m_value; m_delegate = a1->m_delegate; if ( m_delegate && !a1->m_cancelled ) ((void (__fastcall *)(SetIDPopupDelegate *, SetIDPopup *))m_delegate->setIDPopupClosed)(m_delegate, a1); ((void (__fastcall *)(SetIDPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(SetIDPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source