// // EditorSoundConfigInfoLayer::onLike from 0xccce1c to 0xcccec4 (168 bytes) // // 3 xrefs: // > @ 0xf3e80 // > EditorSoundConfigInfoLayer::init @ 0xcd1c50 // > @ 0x1547648 // // This function is hookable on this platform (idp: arm, 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 13:06:25 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::onLike(__int64 this, cocos2d::CCObject *a2) { __int64 v2; // x1 __int64 v3; // x19 __int64 v4; // x0 __int64 v5; // x0 int v6; // w1 GameLevelManager *v7; // x0 __int64 *v8; // x0 __int64 v9; // x2 GameLevelManager *v10; // x0 v2 = *(_QWORD *)(this + 1088); if ( v2 ) { if ( !*(_BYTE *)(v2 + 497) ) { v3 = this; this = GameLevelManager::sharedState((GameLevelManager *)this); if ( !this || (v4 = GameLevelManager::sharedState((GameLevelManager *)this), this = GameLevelManager::hasLikedItemFullCheck( v4, &byte_5, *(unsigned int *)(*(_QWORD *)(v3 + 1088) + 316LL)), !(_BYTE)this) ) { v5 = GameManager::sharedState((GameManager *)this); v6 = *(_DWORD *)(v5 + 660); v7 = (GameLevelManager *)*(unsigned int *)(v5 + 664); if ( v6 == (_DWORD)v7 ) { v10 = (GameLevelManager *)GameLevelManager::sharedState(v7); GameLevelManager::updateUserScore(v10); } v8 = (__int64 *)LikeItemLayer::create(5, *(_DWORD *)(*(_QWORD *)(v3 + 1088) + 316LL), 0); v9 = *v8; v8[84] = v3 + 1048; return (*(__int64 (**)(void))(v9 + 1312))(); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source