//
// SetTextPopup::dSetTextPopup from 0x140399820 to 0x1403998f4 (212 bytes)
//
// 3 xrefs:
// > sub_1403AC504 @ 0x1403ac50b
// > ??> @ 0x14077b540
// > ??> @ 0x140923210
//
// This function is hookable on this platform (idp: pc, 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 11:31:14 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall SetTextPopup::dSetTextPopup(cocos2d::CCNode *Block, char a2)
{
*(_QWORD *)Block = &SetTextPopup::`vftable';
*((_QWORD *)Block + 40) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 41) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 42) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 43) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 44) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 51) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 54) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 68) = &SetTextPopup::`vftable';
*((_QWORD *)Block + 83) = &SetTextPopup::`vftable';
cocos2d::CCNode::removeAllChildrenWithCleanup(Block, 1);
sub_14003D310((__int64)Block + 696);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}