// // SocialLinksPopup::onOK from 0x5e4844 to 0x5e4930 (236 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:54:18 +0000 // int __fastcall SocialLinksPopup::onOK(SocialLinksPopup *this, cocos2d::CCObject *a2) { int v3; // r2 _DWORD *v5; // r2 _DWORD *v6; // r7 _DWORD *v7; // r6 _DWORD *v8; // t1 int v9; // r2 int v10; // r4 _DWORD *v11; // r4 int v12; // r1 int v13; // r2 _DWORD *v14; // [sp+4h] [bp-20h] int v15; // [sp+Ch] [bp-18h] BYREF int v16; // [sp+10h] [bp-14h] BYREF int v17; // [sp+14h] [bp-10h] int v18; // [sp+18h] [bp-Ch] v3 = *((_DWORD *)this + 131); if ( v3 ) { v5 = *(_DWORD **)(v3 + 52); if ( *v5 ) { v6 = (_DWORD *)v5[3]; v14 = &v6[*v5 - 1]; while ( v6 <= v14 ) { v8 = (_DWORD *)*v6++; v7 = v8; if ( !v8 ) break; v9 = *v7; v7[105] = 0; (*(void (__fastcall **)(_DWORD *, _DWORD))(v9 + 580))(v7, 0); v10 = *((_DWORD *)this + 130); if ( v10 ) { v15 = (*(int (__fastcall **)(_DWORD *))(*v7 + 32))(v7); v11 = std::map::operator[]((int **)(v10 + 548), &v15); CCTextInputNode::getString((CCTextInputNode *)&v16, (int)v7); if ( (*(_BYTE *)v11 & 1) != 0 ) { *(_BYTE *)v11[2] = 0; v11[1] = 0; } else { *((_BYTE *)v11 + 1) = 0; *(_BYTE *)v11 = 0; } std::string::reserve(v11, 0); v12 = v17; v13 = v18; *v11 = v16; v11[1] = v12; v11[2] = v13; v16 = 0; v17 = 0; v18 = 0; std::string::~string((int)&v16); } } } } (*(void (__fastcall **)(SocialLinksPopup *, _DWORD))(*(_DWORD *)this + 536))(this, 0); return (*(int (__fastcall **)(SocialLinksPopup *, int))(*(_DWORD *)this + 264))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source