// // SetupKeyframePopup::refreshPreviewArt from 0x1001e3f90 to 0x1001e4171 (481 bytes) // // 2 xrefs: // > SetupKeyframePopup::valueDidChange @ 0x1001e3f82 // > SetupKeyframePopup::onCustomButton @ 0x1001e42d5 // // 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:26:29 +0000 // void __fastcall SetupKeyframePopup::refreshPreviewArt(_QWORD *a1) { _QWORD *v2; // r15 __int64 v3; // rdi __int64 v4; // r14 unsigned int *v5; // rax unsigned __int64 v6; // r14 __int64 v7; // rax int v8; // r13d _QWORD *v9; // r12 int v10; // eax _DWORD *v11; // rax _OWORD *v12; // r14 __int64 v13; // rax unsigned int *v14; // rax __int64 v15; // rcx unsigned __int64 v16; // rax unsigned __int64 v17; // rcx _QWORD *v18; // rcx _OWORD *v19; // rax bool v20; // zf unsigned __int64 v21; // [rsp+8h] [rbp-48h] _OWORD *v22; // [rsp+10h] [rbp-40h] BYREF _OWORD v23[3]; // [rsp+18h] [rbp-38h] BYREF if ( !a1[128] ) return; v2 = v23; v23[0] = 0; v22 = v23; v3 = a1[85]; if ( v3 ) { v4 = sub_1007FE9A0(v3); if ( !v4 ) goto LABEL_21; LABEL_6: if ( (unsigned int)sub_1007FEF90(v4) ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((_QWORD *)v5 + 2); v21 = v6 + 8LL * *v5 - 8; do { if ( !*(_QWORD *)v6 ) break; v7 = *(_QWORD *)&v23[0]; v8 = *(_DWORD *)(*(_QWORD *)v6 + 1856LL); LABEL_14: v9 = v2; if ( v7 ) { do { v2 = (_QWORD *)v7; v10 = *(_DWORD *)(v7 + 28); if ( v8 < v10 ) { v7 = *v2; goto LABEL_14; } if ( v8 <= v10 ) goto LABEL_10; v7 = v2[1]; } while ( v7 ); v9 = v2 + 1; } v11 = operator new(0x20u); v11[7] = v8; *(_OWORD *)v11 = 0; *((_QWORD *)v11 + 2) = v2; *v9 = v11; if ( *(_QWORD *)v22 ) v22 = *(_OWORD **)v22; sub_10001B680(*(__int64 **)&v23[0], (__int64 *)v11); ++*((_QWORD *)&v23[0] + 1); LABEL_10: v6 += 8LL; v2 = v23; } while ( v6 <= v21 ); } } goto LABEL_21; } v4 = a1[86]; if ( v4 ) goto LABEL_6; LABEL_21: v12 = v22; if ( v22 != v23 ) { do { v13 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1[128] + 13272LL)); if ( v13 ) { v14 = *(unsigned int **)(v13 + 56); v15 = *v14; if ( *v14 ) { v16 = *((_QWORD *)v14 + 2); v17 = v16 + 8 * v15 - 8; do { if ( !*(_QWORD *)v16 ) break; *(_BYTE *)(*(_QWORD *)v16 + 1881LL) = 1; v16 += 8LL; } while ( v16 <= v17 ); } } v18 = *((_QWORD **)v12 + 1); if ( v18 ) { do { v19 = v18; v18 = (_QWORD *)*v18; } while ( v18 ); } else { do { v19 = *((_OWORD **)v12 + 2); v20 = *(_QWORD *)v19 == (_QWORD)v12; v12 = v19; } while ( !v20 ); } v12 = v19; } while ( v19 != v23 ); } sub_10001ADF0((__int64)&v22, *(_QWORD **)&v23[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source