// // SocialLinksPopup::onOK from 0xa39d74 to 0xa39f08 (404 bytes) // // 3 xrefs: // > @ 0xbb030 // > SocialLinksPopup::init @ 0xa36dd4 // > @ 0x1545688 // // 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 12:59:53 +0000 // __int64 __fastcall SocialLinksPopup::onOK(SocialLinksPopup *this, cocos2d::CCObject *a2) { __int64 v3; // x0 unsigned int *v4; // x1 CCTextInputNode **v5; // x21 __int64 v6; // x0 char *v7; // x23 CCTextInputNode *i; // x19 __int64 v9; // x2 __int64 v10; // x25 __int64 v11; // x25 __int64 v12; // x0 __int64 v13; // x1 int v15; // [xsp+74h] [xbp+74h] BYREF int *v16; // [xsp+78h] [xbp+78h] BYREF __int64 v17[3]; // [xsp+80h] [xbp+80h] BYREF v3 = *((_QWORD *)this + 84); if ( v3 ) { v4 = *(unsigned int **)(v3 + 56); if ( *v4 ) { v5 = *((CCTextInputNode ***)v4 + 2); v6 = 8LL * *v4 - 8; v7 = (char *)v5 + v6; if ( v5 <= (CCTextInputNode **)((char *)v5 + v6) ) { for ( i = *v5; *v5; i = *v5 ) { v9 = *(_QWORD *)i; *((_QWORD *)i + 73) = 0; (*(void (__fastcall **)(CCTextInputNode *, _QWORD))(v9 + 1160))(i, 0); v10 = *((_QWORD *)this + 83); if ( v10 ) { v15 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)i + 64LL))(i); v16 = &v15; v11 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__emplace_unique_key_args,std::tuple<>>( (__int64 **)(v10 + 696), &v15, (__int64)&unk_116D8A8, &v16); CCTextInputNode::getString(i, v17); if ( (*(_BYTE *)(v11 + 40) & 1) != 0 ) { **(_BYTE **)(v11 + 56) = 0; *(_QWORD *)(v11 + 48) = 0; } else { *(_BYTE *)(v11 + 41) = 0; *(_BYTE *)(v11 + 40) = 0; } std::string::reserve((__int64 *)(v11 + 40), 0); v12 = v17[0]; v13 = v17[1]; *(_QWORD *)(v11 + 56) = v17[2]; *(_QWORD *)(v11 + 40) = v12; *(_QWORD *)(v11 + 48) = v13; } if ( v7 < (char *)++v5 ) break; } } } } (*(void (__fastcall **)(SocialLinksPopup *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0); (*(void (__fastcall **)(SocialLinksPopup *, __int64))(*(_QWORD *)this + 528LL))(this, 1); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source