// // LevelListLayer::onLike from 0x140307a70 to 0x140307b4e (222 bytes) // // 2 xrefs: // > LevelListLayer::init @ 0x14030467b // > @ 0x1406d4520 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void LevelListLayer::onLike(LevelListLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rdx GameLevelManager *v4; // rcx LikeItemLayer *v5; // rax void *v6; // [rsp+30h] [rbp+8h] void *v7; // [rsp+30h] [rbp+8h] if ( !a1->m_exiting ) { v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } if ( *(_DWORD *)(v3 + 652) == *(_DWORD *)(v3 + 656) ) { v4 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v7 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = (GameLevelManager *)qword_1406C2EC0; } GameLevelManager::updateUserScore(v4); } v5 = LikeItemLayer::create((LikeItemType)4, a1->m_levelList->m_listID, 0); v5->m_likeDelegate = &a1->LikeItemDelegate; v5->show(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source