// // SetupKeyframePopup::refreshPreviewArt from 0x1001b5850 to 0x1001b5994 (324 bytes) // // 2 xrefs: // > SetupKeyframePopup::valueDidChange @ 0x1001b5840 // > SetupKeyframePopup::onCustomButton @ 0x1001b5b08 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupKeyframePopup::refreshPreviewArt(SetupKeyframePopup *a1) { EffectGameObject *m_gameObject; // x0 __int64 m_gameObjects; // x20 unsigned int *v4; // x9 __int64 v5; // x8 unsigned __int64 v6; // x20 unsigned __int64 v7; // x22 _QWORD **v8; // x22 cocos2d::CCObject *v9; // x0 cocos2d::CCObject_vtbl *v10; // x8 __int64 copyWithZone_low; // x9 unsigned __int64 v12; // x8 unsigned __int64 v13; // x9 _QWORD *v14; // x9 _QWORD **v15; // x8 bool v16; // zf _QWORD **v17; // [xsp+8h] [xbp-38h] BYREF _QWORD *v18[2]; // [xsp+10h] [xbp-30h] BYREF if ( !a1->m_editorLayer ) return; v18[0] = nullptr; v18[1] = nullptr; v17 = v18; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = sub_10024A1B8(m_gameObject); if ( !m_gameObjects ) goto LABEL_11; LABEL_6: if ( (unsigned int)sub_10024A36C(m_gameObjects) ) { v4 = *(unsigned int **)(m_gameObjects + 56); v5 = *v4; if ( (_DWORD)v5 ) { v6 = *((_QWORD *)v4 + 2); v7 = v6 + 8 * v5 - 8; do { if ( !*(_QWORD *)v6 ) break; sub_1000B4D20((__int64)&v17, (int *)(*(_QWORD *)v6 + 1856LL), (_DWORD *)(*(_QWORD *)v6 + 1856LL)); v6 += 8LL; } while ( v6 <= v7 ); } } goto LABEL_11; } m_gameObjects = (__int64)a1->m_gameObjects; if ( m_gameObjects ) goto LABEL_6; LABEL_11: v8 = v17; if ( v17 != v18 ) { do { v9 = cocos2d::CCDictionary::objectForKey(a1->m_editorLayer->m_keyframeGroups, *((int *)v8 + 7)); if ( v9 ) { v10 = v9[1].__vftable; copyWithZone_low = LODWORD(v10->copyWithZone); if ( (_DWORD)copyWithZone_low ) { v12 = (unsigned __int64)v10->~CCObject_0; v13 = v12 + 8 * copyWithZone_low - 8; do { if ( !*(_QWORD *)v12 ) break; *(_BYTE *)(*(_QWORD *)v12 + 1881LL) = 1; v12 += 8LL; } while ( v12 <= v13 ); } } v14 = v8[1]; if ( v14 ) { do { v15 = (_QWORD **)v14; v14 = (_QWORD *)*v14; } while ( v14 ); } else { do { v15 = (_QWORD **)v8[2]; v16 = *v15 == v8; v8 = v15; } while ( !v16 ); } v8 = v15; } while ( v15 != v18 ); } sub_100017D70((__int64)&v17, v18[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source