//
// ThreadOptionsPopup::onCancelRequest from 0xc64c0c to 0xc64d20 (276 bytes)
//
// 3 xrefs:
// > ??> @ 0x41650
// > ThreadOptionsPopup::init @ 0xc7f4a4
// > ??> @ 0x1541268
//
// 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:05:24 +0000
//
__int64 __fastcall ThreadOptionsPopup::onCancelRequest(ThreadOptionsPopup *this, cocos2d::CCObject *a2)
{
ButtonSprite **v3; // x19
_QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
v6 = (void *)operator new(0x60u);
v5[1] = 91;
v5[0] = 97;
*((_BYTE *)memcpy(
v6,
"Cancel this request?\nThe message will be removed. You can send a new request later.",
0x5Bu)
+ 91) = 0;
v3 = (ButtonSprite **)FLAlertLayer::create(
(__int64)this + 1024,
(cocos2d::CCLabelBMFont *)"Cancel Request",
(char *)v5,
(ButtonSprite *)"Back",
(ButtonSprite *)"Cancel Request",
0,
380.0,
0.0,
1.0);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
(*((void (__fastcall **)(ButtonSprite **, __int64))*v3 + 9))(v3, 9);
ButtonSprite::updateBGImage(v3[77], "GJ_button_06.png");
(*((void (__fastcall **)(ButtonSprite **))*v3 + 164))(v3);
return _stack_chk_guard;
}