//
// MessagesProfilePage::onSentMessages from 0x5f0d98 to 0x5f0dee (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:27 +0000
//
int __fastcall MessagesProfilePage::onSentMessages(cocos2d::CCObject **this, cocos2d::CCObject *a2)
{
cocos2d::CCObject **v2; // r4
int v3; // r0
cocos2d::CCTouchDispatcher *v4; // r0
int v5; // r0
cocos2d::CCTouchDispatcher *v6; // r0
bool v7; // r1
int *v8; // r0
v2 = this;
if ( *(this + 140) )
{
v3 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
v4 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 80))(v3);
this = (cocos2d::CCObject **)cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, v2[140]);
}
v5 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
v6 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 80))(v5);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, (cocos2d::CCObject *)v2);
v8 = MessagesProfilePage::create((MessagesProfilePage *)((char *)&dword_0 + 1), v7);
(*(void (__fastcall **)(int *))(*v8 + 656))(v8);
(*((void (__fastcall **)(cocos2d::CCObject **, _DWORD))*v2 + 134))(v2, 0);
return (*((int (__fastcall **)(cocos2d::CCObject **, int))*v2 + 66))(v2, 1);
}