//
// MyStuffPopup::onSocialPage from 0x100232f98 to 0x100233028 (144 bytes)
//
// 1 xrefs:
// > MyStuffPopup::init @ 0x100232e58
//
// 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 11:01:18 +0000
//
void __fastcall MyStuffPopup::onSocialPage(__int64 a1, __int64 a2)
{
__int64 v2; // x19
int v3; // w0
__int64 v4; // x0
std::string::size_type size; // x9
char v6; // w8
__int64 v7; // x0
std::string *p_p; // x1
std::string __p; // [xsp+8h] [xbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 664);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
sub_10023051C(v2, v3, &__p);
size = HIBYTE(__p.__r_.__value_.__r.__words[2]);
v6 = HIBYTE(__p.__r_.__value_.__r.__words[2]);
if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )
size = __p.__r_.__value_.__l.__size_;
if ( size )
{
v7 = cocos2d::CCApplication::sharedApplication(v4);
if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
p_p = &__p;
else
p_p = (std::string *)__p.__r_.__value_.__r.__words[0];
(*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v7 + 104LL))(v7, p_p);
v6 = HIBYTE(__p.__r_.__value_.__r.__words[2]);
}
if ( v6 < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}