// // EditorSoundConfigInfoLayer::refreshLikeState from 0x140194690 to 0x140194837 (423 bytes) // // 3 xrefs: // > EditorSoundConfigInfoLayer::init @ 0x140194025 // > EditorSoundConfigInfoLayer::likedItem @ 0x140196ea5 // > @ 0x140919394 // // 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 11:27:44 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall EditorSoundConfigInfoLayer::refreshLikeState(_QWORD *a1) { __int64 v2; // rax int v3; // ebx int v4; // edi bool v5; // r14 __int64 v6; // rcx __int64 *v7; // rsi __int64 v8; // rdi const char *v9; // rbx cocos2d::CCSpriteFrameCache *v10; // rax struct cocos2d::CCSpriteFrame *v11; // rax __int16 *v12; // rax __int16 *v13; // rdx void *v14; // [rsp+30h] [rbp-48h] __int16 v15[16]; // [rsp+38h] [rbp-40h] BYREF v2 = a1[134]; if ( v2 ) { v5 = true; if ( !*(_BYTE *)(v2 + 545) ) { if ( (v3 = qword_14090BFB0, !*(_QWORD *)&qword_14090BFB0) && (v14 = operator new(0x690u), *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v14), (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0), v3 = qword_14090BFB0, !*(_QWORD *)&qword_14090BFB0) || (v4 = *(_DWORD *)(a1[134] + 320LL), !(unsigned __int8)GameLevelManager::hasLikedAccountItem(v3, 5, v4, 1, 0)) && !(unsigned __int8)GameLevelManager::hasLikedAccountItem(v3, 5, v4, 0, 0) ) { v5 = false; } } v6 = a1[139]; if ( v6 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 936LL))(v6, !v5); v7 = (__int64 *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[139] + 952LL))(a1[139]); v8 = *v7; v9 = "GJ_like2Btn_001.png"; if ( v5 ) v9 = "GJ_like2Btn2_001.png"; v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, v9); (*(void (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v8 + 1008))(v7, v11); } if ( a1[140] ) { v12 = GameToolbox::intToShortString(v15, *(_DWORD *)(a1[134] + 352LL), 0); v13 = v12; if ( *((_QWORD *)v12 + 3) > 0xFu ) v13 = *(__int16 **)v12; (**(void (__fastcall ***)(__int64, __int16 *))(a1[140] + 360LL))(a1[140] + 360LL, v13); sub_14003D310((__int64)v15); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source