//
// AdminActionConfirmPopup::onConfirm from 0x731250 to 0x7312f2 (162 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:58:20 +0000
//
int __fastcall AdminActionConfirmPopup::onConfirm(AdminActionConfirmPopup *this, cocos2d::CCObject *a2)
{
int v2; // r1
cocos2d::CCDirector *String; // r0
int v5; // r0
cocos2d::CCTouchDispatcher *v6; // r0
void (__fastcall ***v7)(_DWORD, int, char **, int *); // r8
int v8; // r10
void (__fastcall *v9)(_DWORD, int, char **, int *); // r9
int v11[3]; // [sp+4h] [bp-1Ch] BYREF
char *v12[3]; // [sp+10h] [bp-10h] BYREF
v2 = *((_DWORD *)this + 183);
if ( v2 )
String = CCTextInputNode::getString((CCTextInputNode *)v11, v2);
else
String = (cocos2d::CCDirector *)std::string::basic_string(v11, (int)this + 720);
v5 = cocos2d::CCDirector::sharedDirector(String);
v6 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 80))(v5);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, this);
v7 = *((void (__fastcall ****)(_DWORD, int, char **, int *))this + 178);
if ( v7 )
{
v8 = *((_DWORD *)this + 179);
v9 = **v7;
AdminActionConfirmPopup::selectedCategories((AdminActionConfirmPopup *)v12, this);
v9(v7, v8, v12, v11);
std::__vector_base::~__vector_base(v12);
}
(*(void (__fastcall **)(AdminActionConfirmPopup *, _DWORD))(*(_DWORD *)this + 684))(this, 0);
return std::string::~string((int)v11);
}