// // SetupAnimationPopup::updateAnimationID from 0x1405a16a0 to 0x1405a1739 (153 bytes) // // 3 xrefs: // > SetupAnimationPopup::onAnimationIDArrow @ 0x1405a138a // > SetupAnimationPopup::textChanged @ 0x1405a15f9 // > @ 0x14092d434 // // 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:34:37 +0000 // int __fastcall SetupAnimationPopup::updateAnimationID(__int64 a1) { int v1; // eax unsigned int v3; // ebx int v4; // ecx __int64 v5; // rax cocos2d::CCArray *v6; // rcx struct cocos2d::CCObject *v7; // rax v1 = *(_DWORD *)(a1 + 1020); v3 = 0; v4 = 0; if ( v1 >= 0 ) v4 = v1; if ( v4 > 999 ) v4 = 999; v5 = *(_QWORD *)(a1 + 680); *(_DWORD *)(a1 + 1020) = v4; if ( v5 ) { *(_DWORD *)(v5 + 1668) = v4; } else { v6 = *(cocos2d::CCArray **)(a1 + 688); if ( v6 ) { LODWORD(v5) = cocos2d::CCArray::count(v6); if ( (_DWORD)v5 ) { do { v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v3++); *((_DWORD *)v7 + 417) = *(_DWORD *)(a1 + 1020); LODWORD(v5) = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); } while ( v3 < (unsigned int)v5 ); } } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source