// // EditorUI::updatePlaybackBtn from 0x7c2624 to 0x7c2788 (356 bytes) // // 6 xrefs: // > EditorUI::onPlayback @ 0x7c2940 // > EditorUI::songStateChanged @ 0x7c29cc // > EditorUI::onPlaytest @ 0x7ce7ac // > EditorUI::playtestStopped @ 0x7ce930 // > EditorUI::onPause @ 0x7cea88 // > @ 0x85f00 // // 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 12:54:07 +0000 // __int64 __fastcall EditorUI::updatePlaybackBtn(EditorUI *this) { _BOOL4 v2; // w20 cocos2d::CCSpriteFrameCache **v3; // x21 void (__fastcall *v4)(cocos2d::CCSpriteFrameCache **, __int64); // x22 cocos2d::CCSpriteFrameCache *v5; // x0 __int64 v6; // x0 __int64 v7; // x1 void (*v8)(void); // x2 void (*v9)(void); // x2 __int64 result; // x0 void (__fastcall *v11)(cocos2d::CCSpriteFrameCache **, __int64); // x20 cocos2d::CCSpriteFrameCache *v12; // x0 __int64 v13; // x0 v2 = *(_DWORD *)(*((_QWORD *)this + 180) + 1972LL) == 0; v3 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 124) + 1072LL))(*((_QWORD *)this + 124)); if ( v2 && *((_BYTE *)this + 616) ) { v11 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v3 + 145); v12 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v3); v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, "GJ_stopMusicBtn_001.png"); v11(v3, v13); *(_BYTE *)(*((_QWORD *)this + 124) + 408LL) = 1; v7 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 124) + 1072LL))(*((_QWORD *)this + 124)); v8 = *(void (**)(void))(*(_QWORD *)v7 + 960LL); } else { v4 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v3 + 145); v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v3); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_playMusicBtn_001.png"); v4(v3, v6); *(_BYTE *)(*((_QWORD *)this + 124) + 408LL) = v2; v7 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 124) + 1072LL))(*((_QWORD *)this + 124)); v8 = *(void (**)(void))(*(_QWORD *)v7 + 960LL); if ( !v2 ) { v8(); v9 = *(void (**)(void))(**((_QWORD **)this + 124) + 912LL); goto LABEL_5; } } ((void (__fastcall *)(__int64, __int64 *))v8)(v7, &qword_1142200); v9 = *(void (**)(void))(**((_QWORD **)this + 124) + 912LL); LABEL_5: v9(); result = *((unsigned __int8 *)this + 616); if ( *((_BYTE *)this + 616) ) result = *(_DWORD *)(*((_QWORD *)this + 180) + 1972LL) == 0; *((_BYTE *)this + 668) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source