// // LevelInfoLayer::onLike from 0x499e38 to 0x499e86 (78 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:44 +0000 // GameManager *__fastcall LevelInfoLayer::onLike(GameManager *this, cocos2d::CCObject *a2) { GameManager *v2; // r4 GameLevelManager *v3; // r0 GameLevelManager *v4; // r0 int *v5; // r0 int v6; // r3 v2 = this; if ( !*((_BYTE *)this + 356) ) { v3 = (GameLevelManager *)GameManager::sharedState(this); if ( *((_DWORD *)v3 + 116) == *((_DWORD *)v3 + 117) ) { v4 = (GameLevelManager *)GameLevelManager::sharedState(v3); GameLevelManager::updateUserScore(v4); } v5 = (int *)LikeItemLayer::create( 1, *(_DWORD *)(*((_DWORD *)v2 + 91) + 268) - *(_DWORD *)(*((_DWORD *)v2 + 91) + 272), 0); v6 = *v5; v5[133] = (int)v2 + 328; return (GameManager *)(*(int (**)(void))(v6 + 656))(); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source