// // EditorSoundConfigInfoLayer::onLike from 0x784c78 to 0x784ce2 (106 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:59:31 +0000 // GameLevelManager *__fastcall EditorSoundConfigInfoLayer::onLike(GameLevelManager *this, cocos2d::CCObject *a2) { GameLevelManager *v2; // r4 int v3; // r3 int v4; // r0 GameLevelManager *v5; // r0 GameLevelManager *v6; // r0 int *v7; // r0 int v8; // r3 v2 = this; v3 = *((_DWORD *)this + 187); if ( v3 ) { if ( !*(_BYTE *)(v3 + 385) ) { this = (GameLevelManager *)GameLevelManager::sharedState(this); if ( !this || (v4 = GameLevelManager::sharedState(this), (this = (GameLevelManager *)GameLevelManager::hasLikedItemFullCheck(v4, &byte_5)) == nullptr) ) { v5 = (GameLevelManager *)GameManager::sharedState(this); if ( *((_DWORD *)v5 + 116) == *((_DWORD *)v5 + 117) ) { v6 = (GameLevelManager *)GameLevelManager::sharedState(v5); GameLevelManager::updateUserScore(v6); } v7 = (int *)LikeItemLayer::create(5, *(_DWORD *)(*((_DWORD *)v2 + 187) + 264), 0); v8 = *v7; v7[133] = (int)v2 + 728; return (GameLevelManager *)(*(int (**)(void))(v8 + 656))(); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source