// // AdminActionConfirmPopup::onConfirm from 0xc3de6c to 0xc3e008 (412 bytes) // // 3 xrefs: // > @ 0x681a0 // > AdminActionConfirmPopup::init @ 0xc3e460 // > @ 0x15428a0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:04:55 +0000 // __int64 __fastcall AdminActionConfirmPopup::onConfirm(AdminActionConfirmPopup *this, cocos2d::CCObject *a2) { CCTextInputNode *v3; // x0 void *String; // x0 __int64 v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 void (__fastcall ***v7)(_QWORD, _QWORD, void **, __int64 *); // x21 unsigned int v8; // w25 void (__fastcall *v9)(_QWORD, _QWORD, void **, __int64 *); // x24 __int64 v11; // x0 __int64 v12; // x5 __int64 v13; // [xsp+58h] [xbp+58h] BYREF __int64 v14; // [xsp+60h] [xbp+60h] void *v15; // [xsp+68h] [xbp+68h] void *v16; // [xsp+70h] [xbp+70h] BYREF char *v17; // [xsp+78h] [xbp+78h] v3 = *((CCTextInputNode **)this + 132); if ( v3 ) { String = CCTextInputNode::getString(v3, &v13); } else { v11 = *((unsigned __int8 *)this + 1032); v13 = 0; v14 = 0; v15 = nullptr; if ( (v11 & 1) != 0 ) { String = (void *)std::string::__init(&v13, *((void **)this + 131), *((_QWORD *)this + 130)); } else { v12 = *((_QWORD *)this + 130); String = *((void **)this + 131); v13 = *((_QWORD *)this + 129); v14 = v12; v15 = String; } } v5 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)String); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, this); v7 = *((void (__fastcall ****)(_QWORD, _QWORD, void **, __int64 *))this + 127); if ( v7 ) { v8 = *((_DWORD *)this + 256); v9 = **v7; AdminActionConfirmPopup::selectedCategories(this, &v16); v9(v7, v8, &v16, &v13); if ( v16 ) { if ( v16 != v17 ) v17 += 4 * ~((unsigned __int64)(v17 - 4 - (_BYTE *)v16) >> 2); operator delete(v16); } } (*(void (__fastcall **)(AdminActionConfirmPopup *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0); if ( (v13 & 1) != 0 ) operator delete(v15); return _stack_chk_guard; }