// // SetupAnimationPopup::textChanged from 0x1003bee10 to 0x1003befd3 (451 bytes) // // 2 xrefs: // > sub_1003BF080 @ 0x1003bf08c // > @ 0x100b38330 // // 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:29:32 +0000 // void __fastcall SetupAnimationPopup::textChanged(__int64 a1, __int64 a2) { int v3; // eax int v4; // eax char *v5; // r14 int v6; // ecx int v7; // eax __int64 v8; // rcx __int64 v9; // rdi unsigned int v10; // r14d char *v11; // r14 int v12; // ecx int v13; // esi __int64 v14; // rdi __int64 v15; // rdi unsigned int v16; // r14d __int64 v17; // rax _QWORD v18[2]; // [rsp-30h] [rbp-30h] BYREF char *v19; // [rsp-20h] [rbp-20h] if ( !*(_BYTE *)(a1 + 744) ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) ) { CCTextInputNode::getString(v18, a2); if ( (v18[0] & 1) != 0 ) { v5 = v19; *(_DWORD *)(a1 + 1036) = atoi(v19); operator delete(v5); v3 = *(_DWORD *)(a1 + 1036); } else { v3 = atoi((const char *)v18 + 1); } v6 = 0; if ( v3 > 0 ) v6 = v3; v7 = 999; if ( v6 < 999 ) v7 = v6; *(_DWORD *)(a1 + 1036) = v7; v8 = *(_QWORD *)(a1 + 680); if ( v8 ) { *(_DWORD *)(v8 + 1652) = v7; } else { v9 = *(_QWORD *)(a1 + 688); if ( v9 && (unsigned int)sub_1007FEF90(v9) ) { v10 = 0; do *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v10++) + 1652) = *(_DWORD *)(a1 + 1036); while ( v10 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) ); } } } else { CCTextInputNode::getString(v18, a2); if ( (v18[0] & 1) != 0 ) { v11 = v19; *(_DWORD *)(a1 + 1032) = atoi(v19); operator delete(v11); v4 = *(_DWORD *)(a1 + 1032); } else { v4 = atoi((const char *)v18 + 1); } v12 = 0; if ( v4 > 0 ) v12 = v4; v13 = 9999; if ( v12 < 9999 ) v13 = v12; *(_DWORD *)(a1 + 1032) = v13; v14 = *(_QWORD *)(a1 + 680); if ( v14 ) { EffectGameObject::setTargetID(v14, v13); } else { v15 = *(_QWORD *)(a1 + 688); if ( v15 && (unsigned int)sub_1007FEF90(v15) ) { v16 = 0; do { v17 = sub_1007FEFE0(*(_QWORD *)(a1 + 688), v16); EffectGameObject::setTargetID(v17, *(_DWORD *)(a1 + 1032)); ++v16; } while ( v16 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) ); } } SetupTriggerPopup::updateEditorLabel(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source