// // LevelInfoLayer::onFavorite from 0x1002aefe0 to 0x1002af053 (115 bytes) // // 1 xrefs: // > LevelInfoLayer::init @ 0x1002ab91b // // 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 12:28:00 +0000 // void __fastcall LevelInfoLayer::onFavorite(__int64 a1, __int64 a2, double a3) { __int64 v3; // rax char v4; // r14 __int64 v5; // rbx __int64 v6; // rax const char *v7; // rsi __int64 v8; // rax if ( !*(_BYTE *)(a1 + 488) ) { v3 = *(_QWORD *)(a1 + 504); v4 = *(_BYTE *)(v3 + 912); *(_BYTE *)(v3 + 912) = v4 ^ 1; v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2); v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a3); v7 = "gj_heartOn_001.png"; if ( v4 ) v7 = "gj_heartOff_001.png"; v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1160LL))(v5, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source