// // sub_1000A24A0 from 0x1000a24a0 to 0x1000a258b (235 bytes) // // 9 xrefs: // > EditLevelLayer::onShare @ 0x1001de93b // > CommentCell::onLike @ 0x10023dfda // > sub_100349610 @ 0x1003496aa // > InfoLayer::onComment @ 0x100893af1 // > ProfilePage::onSendMessage @ 0x1008a2226 // > ProfilePage::onFriend @ 0x1008a238c // > ProfilePage::onBlockUser @ 0x1008a2935 // > sub_1008F6530 @ 0x1008f65bc // > sub_1008FC760 @ 0x1008fc812 // // This function is hookable on this platform (idp: pc, 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:20:14 +0000 // void sub_1000A24A0() { __int64 v0; // rax const char *CString; // r14 size_t v2; // rax size_t v3; // rbx char *v4; // r15 size_t v5; // r12 __int64 v6; // rax char v7; // [rsp+0h] [rbp-40h] _QWORD __dst[2]; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] v0 = sub_10088E820("You need an account to %s.\nYou can create one for free in the main menu.", v7); CString = (const char *)cocos2d::CCString::getCString(v0); v2 = strlen(CString); if ( v2 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v3 = v2; if ( v2 >= 0x17 ) { v5 = 26; if ( (v2 | 7) != 0x17 ) v5 = (v2 | 7) + 1; v4 = (char *)operator new(v5); __p = v4; __dst[0] = v5 + 1; __dst[1] = v3; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v2; v4 = (char *)__dst + 1; if ( v2 ) LABEL_8: memmove(v4, CString, v3); v4[v3] = 0; v6 = FLAlertLayer::create_1(0, "Account Needed", __dst, "Close", 0, 380.0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source