//
// ReviewChoiceSheet::onChoice from 0x73267c to 0x732702 (134 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:21 +0000
//
int __fastcall ReviewChoiceSheet::onChoice(ReviewChoiceSheet *this, cocos2d::CCObject *a2, int a3, int a4)
{
CCTextInputNode *String; // r0
int v6; // r1
CCTextInputNode *v7; // r8
int v8; // r0
cocos2d::CCTouchDispatcher *v9; // r0
void (__fastcall ***v10)(_DWORD, _DWORD, CCTextInputNode *, ReviewChoiceSheet **); // r0
ReviewChoiceSheet *v12; // [sp+0h] [bp-10h] BYREF
cocos2d::CCObject *v13; // [sp+4h] [bp-Ch]
int v14; // [sp+8h] [bp-8h]
int v15; // [sp+Ch] [bp-4h]
v12 = this;
v13 = a2;
v14 = a3;
v15 = a4;
String = (CCTextInputNode *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v6 = *((_DWORD *)this + 180);
v7 = String;
if ( v6 )
{
String = CCTextInputNode::getString((CCTextInputNode *)&v12, v6);
}
else
{
v12 = nullptr;
v13 = nullptr;
v14 = 0;
}
v8 = cocos2d::CCDirector::sharedDirector(String);
v9 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v8 + 80))(v8);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v9, this);
v10 = *((void (__fastcall ****)(_DWORD, _DWORD, CCTextInputNode *, ReviewChoiceSheet **))this + 178);
if ( v10 )
(**v10)(v10, *((_DWORD *)this + 179), v7, &v12);
(*(void (__fastcall **)(ReviewChoiceSheet *, _DWORD))(*(_DWORD *)this + 684))(this, 0);
return std::string::~string((int)&v12);
}