123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- #include "CMessageBoxHandler.h"
- #include "CFE.h"
- #include "FE2D.h"
- #include "SNDFE.h"
- #include "TGame.h"
- #include "memctrl.h"
- int CMessageBoxHandler::ms_iCurrentMessageBox = -1; //00336248
- CMessageBox *CMessageBoxHandler::ms_pMessageBoxQueue[8]; //0034A950
- //-------------------------------------------------------------------------------------------------
- //00121828 //^_^
- bool CMessageBoxHandler::ShutDownMessageBox() {
- //00121834
- LOGE("ShutDownMessageBox");
- //loc_12187A
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122D6C 这里与原始代码不一样,是我故意这么做的,原始代码将 CMessageBox的构造内联进了这个函数,我是单独提取出来了
- bool CMessageBoxHandler::NewMessageBox(CMessageBoxHandler_func pFunc1,
- void *pvoid2,
- EMessageBoxType eType3,
- wchar_t const *pWBuf4,
- wchar_t *pWBuf5,
- int a6,
- int a7,
- bool b8,
- int a9,
- int a10,
- bool b11,
- bool b12,
- bool b13,
- bool b14) {
- /*
- */
- //00122D7C
- //loc_122DFE
- LOGE("%p%p%x%p%p%x%x%x%x%x%x%x%x%xNewMessageBox",pFunc1,pvoid2,eType3,pWBuf4,pWBuf5,a6,a7,b8,a9,a10,b11,b12,b13,b14);
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122E14 //^_^
- bool CMessageBoxHandler::NewMessageBox(CMessageBox *pBox0,
- CMessageBoxHandler_func pFunc1,
- void *pvoid2,
- EMessageBoxType eType3,
- wchar_t const *pWBuf4,
- wchar_t *pWBuf5,
- int a6,
- int a7,
- bool b8,
- int a9,
- int a10,
- bool b11,
- bool b12,
- bool b13,
- bool b14) {
- //00122D7C
- //loc_122E90
- return true;
- }
- //-------------------------------------------------------------------------------------------------
- //00122EA0 //^_^
- bool CMessageBoxHandler::MessageBoxShown() {
- //00122EA8
- //loc_122EC2
- LOGE("MessageBoxShown");
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122ED0 //^_^
- CMessageBox *CMessageBoxHandler::GetMessageBox() {
- //loc_122EE8
- return nullptr;
- }
- //-------------------------------------------------------------------------------------------------
- //00122EF4 //^_^
- bool CMessageBoxHandler::CanProcess() {
- //00122EFC
- //loc_122F28
- LOGE("CanProcess");
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122F38 //^_^
- int CMessageBoxHandler::Process() {
- LOGI("CMessageBoxHandler::Process End");
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122F8C //^_^
- bool CMessageBoxHandler::GetCanBackButtonRemove() {
- //loc_122FB0
- LOGI("CMessageBoxHandler::GetCanBackButtonRemove End");
- return rand();
- }
- //-------------------------------------------------------------------------------------------------
- //00122FBC //^_^
- bool CMessageBoxHandler::ShutDownMessageBoxType(EMessageBoxType eType) {
- //00122FEC
- return false;
- }
- //-------------------------------------------------------------------------------------------------
- //0012300C //^_^
- void CMessageBoxHandler::Render() {
- LOGI("CMessageBoxHandler::Render End");
- }
- //-------------------------------------------------------------------------------------------------
- //001230D0 //^_^
- int CMessageBoxHandler::GetMessageBoxType() {
- return 25;
- }
- //-------------------------------------------------------------------------------------------------
- //001230FC
- void CMessageBoxHandler::DisableOption(int a1) {
- //locret_123120
- }
- //-------------------------------------------------------------------------------------------------
- //0012312C //^_^
- uchar *CMessageBoxHandler::GetCustomData() {
- return 0;
- }
- //-------------------------------------------------------------------------------------------------
- //0012314C //^_^
- int CMessageBoxHandler::GetNumOptions() {
- //00123154
- //loc_123168
- return 0;
- }
- //-------------------------------------------------------------------------------------------------
|