// // ProfilePage::onComment from 0x140556c60 to 0x140556e35 (469 bytes) // // 2 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x140555abf // > @ 0x14092beb0 // // 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 11:34:11 +0000 // // Hidden C++ exception states: #wind=2 __int64 ProfilePage::onComment() { __int64 v0; // rcx int TimeLeft; // eax cocos2d::CCString *v2; // rax const char *CString; // rax size_t v4; // r8 __int64 v5; // rax cocos2d::CCObject *v6; // rbx __int64 v8; // rax __int128 v9; // [rsp+50h] [rbp+17h] BYREF __int64 v10; // [rsp+60h] [rbp+27h] __int64 v11; // [rsp+68h] [rbp+2Fh] __int128 v12; // [rsp+70h] [rbp+37h] BYREF __int64 v13; // [rsp+80h] [rbp+47h] __int64 v14; // [rsp+88h] [rbp+4Fh] void *v15; // [rsp+B0h] [rbp+77h] v0 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v15 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v15); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v0 = *(_QWORD *)&qword_14090BFB0; } TimeLeft = GameLevelManager::getTimeLeft(v0, "acc_comment", 15.0); if ( (unsigned int)(TimeLeft - 1) > 0xE ) { v12 = 0; v13 = 0; v14 = 15; LOBYTE(v12) = 0; v10 = 11; v11 = 15; *(_QWORD *)&v9 = 0x6470552074736F50LL; *((_QWORD *)&v9 + 1) = 6648929; v8 = ShareCommentLayer::create((unsigned int)&v9, 140, 1, 0, (__int64)&v12); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1064LL))(v8); } else { v2 = cocos2d::CCString::createWithFormat("Please wait %i seconds before posting a new update!", TimeLeft); CString = cocos2d::CCString::getCString(v2); v9 = 0; v10 = 0; v11 = 0; v4 = -1; do ++v4; while ( CString[v4] ); sub_14003D230(&v9, CString, v4); v5 = sub_14003F4F0((__int64)&v12, (__int64)&v9); v6 = FLAlertLayer::create(0, (int)"Too fast", v5, (__int64)"OK", 0, 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)&v9); return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source