// // sub_10054975C from 0x10054975c to 0x1005498fc (416 bytes) // // 1 xrefs: // > sub_1005452FC @ 0x100545c1c // // 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:07:49 +0000 // void __fastcall sub_10054975C(__int64 a1, __int64 a2) { signed int v3; // w0 signed int v4; // w20 __int64 v5; // x0 __int64 v6; // x21 const char *v7; // x20 const char *v8; // x22 void **v9; // x8 void *v10; // x0 char *CString; // x0 char *v12; // x1 __int64 *v13; // x19 void *v14[2]; // [xsp+18h] [xbp-78h] BYREF char v15; // [xsp+2Fh] [xbp-61h] void *__p[2]; // [xsp+30h] [xbp-60h] BYREF char v17; // [xsp+47h] [xbp-49h] void *v18[2]; // [xsp+48h] [xbp-48h] BYREF char v19; // [xsp+5Fh] [xbp-31h] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( !*(_DWORD *)(a1 + 1236) ) { v4 = v3; v5 = *(_QWORD *)(a1 + 1312); if ( v5 ) { if ( (v4 & 0x80000000) == 0 && v4 < (int)sub_1002E757C(v5) ) { v6 = sub_1002E75A0(*(_QWORD *)(a1 + 1312), v4); *(_DWORD *)(a1 + 1252) = v4; v7 = sub_10051FB1C(*(_DWORD *)(v6 + 56)); v8 = (const char *)(a1 + 848); if ( *(char *)(a1 + 871) < 0 ) v8 = *(const char **)v8; sub_10004B264(v6 + 136, 0x3Cu, (std::string::size_type *)__p); if ( v17 >= 0 ) v9 = __p; else v9 = (void **)__p[0]; v10 = sub_1003065B0("Delete this %s by %s? Cannot be undone.\n\"%s\"", v7, v8, (const char *)v9); CString = (char *)cocos2d::CCString::getCString((__int64)v10); sub_100009900(v18, CString); if ( v17 < 0 ) operator delete(__p[0]); if ( v19 >= 0 ) v12 = (char *)v18; else v12 = (char *)v18[0]; sub_100009900(v14, v12); v13 = (__int64 *)FLAlertLayer::create( a1 + 800, (__int64)"Delete Content", (__int64)v14, (__int64)"Cancel", (__int64)"Delete", 0, 380.0, 0.0, 1.0); if ( v15 < 0 ) operator delete(v14[0]); (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 72))(v13, 3); ButtonSprite::updateBGImage(v13[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v13 + 1312))(v13); if ( v19 < 0 ) operator delete(v18[0]); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source