// // TutorialPopup::closeTutorial from 0x32a320 to 0x32a366 (70 bytes) // // 1 xrefs: // > TutorialPopup::keyBackClicked @ 0x32a368 // // 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 TutorialPopup::closeTutorial(TutorialPopup *a1, cocos2d::CCObject *a2) { int v3; // r1 FLAlertLayerProtocol *m_alertProtocol; // r0 void (__cdecl *ptr)(cocos2d::CCObject *); // r3 int v6; // r2 char *v7; // r0 a1->setKeypadEnabled(a1, 0); if ( a1->m_callbackRegistered ) { m_alertProtocol = a1->m_alertProtocol; ptr = a1->m_callbackSelector.ptr; v6 = (int)a1->m_callbackSelector.adj >> 1; if ( (a1->m_callbackSelector.adj & 1) != 0 ) v3 = *(int *)((char *)&m_alertProtocol->__vftable + v6); v7 = (char *)m_alertProtocol + v6; if ( (a1->m_callbackSelector.adj & 1) != 0 ) ptr = *(void (__cdecl **)(cocos2d::CCObject *))((char *)ptr + v3); ((void (__fastcall *)(char *, TutorialPopup *))ptr)(v7, a1); } a1->removeFromParentAndCleanup(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source