// // CreatorSettingsPopup::setTextPopupClosed from 0x1004abe7c to 0x1004ac014 (408 bytes) // // 2 xrefs: // > sub_1004AC074 @ 0x1004ac078 // > @ 0x100981df0 // // 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:06:07 +0000 // void __fastcall CreatorSettingsPopup::setTextPopupClosed(_QWORD *a1, __int64 a2, __int64 a3) { __int64 v5; // x21 __int64 v6; // x0 __int64 v7; // x20 __int64 v8; // x8 int v9; // w21 _BOOL4 v10; // w0 _BOOL4 v11; // w20 __int64 v12; // x8 char *v13; // x0 void *v14[2]; // [xsp+8h] [xbp-88h] BYREF char v15; // [xsp+1Fh] [xbp-71h] void *__dst[2]; // [xsp+20h] [xbp-70h] BYREF __int64 v17; // [xsp+30h] [xbp-60h] void *__p[2]; // [xsp+40h] [xbp-50h] BYREF __int64 v19; // [xsp+50h] [xbp-40h] std::string __str; // [xsp+58h] [xbp-38h] BYREF if ( !a2 || (*(_BYTE *)(a2 + 681) & 1) == 0 ) { v5 = a1[130]; if ( *(char *)(a3 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a3; v19 = *(_QWORD *)(a3 + 16); } LevelTools::base64EncodeString((__n128 *)__p, (__n128 *)&__str); std::string::operator=((std::string *)(v5 + 368), &__str); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); if ( SHIBYTE(v19) < 0 ) operator delete(__p[0]); v6 = a1[131]; if ( v6 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 16LL))(v6, a3); if ( *(_DWORD *)(a1[130] + 328LL) > *(_DWORD *)(a1[130] + 332LL) ) { *(_QWORD *)(GameLevelManager::sharedState() + 1360) = a1 + 127; v7 = GameLevelManager::sharedState(); v8 = a1[130]; v9 = *(_DWORD *)(v8 + 328) - *(_DWORD *)(v8 + 332); if ( *(char *)(v8 + 391) < 0 ) { sub_1000097D0(__dst, *(void **)(v8 + 368), *(_QWORD *)(v8 + 376)); } else { *(_OWORD *)__dst = *(_OWORD *)(v8 + 368); v17 = *(_QWORD *)(v8 + 384); } v10 = sub_1000CB51C(v7, v9, (char *)__dst); v11 = v10; if ( SHIBYTE(v17) < 0 ) { operator delete(__dst[0]); if ( !v11 ) return; } else if ( !v10 ) { return; } v12 = a1[132]; if ( v12 ) { *(_QWORD *)(v12 + 664) = 0; a1[132] = 0; } sub_100009900(v14, "Updating description..."); v13 = UploadActionPopup::create((__int64)(a1 + 128), (__int64)v14); a1[132] = v13; if ( v15 < 0 ) { operator delete(v14[0]); v13 = (char *)a1[132]; } (*(void (__fastcall **)(char *))(*(_QWORD *)v13 + 1312LL))(v13); } } }