// // SetupPulsePopup::updateTargetID from 0x1405d24a0 to 0x1405d255d (189 bytes) // // 6 xrefs: // > SetupPulsePopup::onSelectTargetMode @ 0x1405d088b // > SetupPulsePopup::colorSelectClosed @ 0x1405d12bd // > SetupPulsePopup::textChanged @ 0x1405d1c07 // > @ 0x1408e10f0 // > @ 0x1408e1100 // > @ 0x14092e844 // // 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:56 +0000 // void __fastcall SetupPulsePopup::updateTargetID(__int64 a1) { __int64 v2; // rcx int v3; // eax cocos2d::CCArray *v4; // rcx unsigned int v5; // esi struct cocos2d::CCObject *v6; // rax int v7; // ecx v2 = *(_QWORD *)(a1 + 680); if ( v2 ) { v3 = *(_DWORD *)(a1 + 1252); if ( v3 < 0 ) v3 = 0; if ( v3 > 9999 ) v3 = 9999; *(_DWORD *)(v2 + 1480) = v3; } else { v4 = *(cocos2d::CCArray **)(a1 + 688); if ( v4 ) { v5 = 0; if ( cocos2d::CCArray::count(v4) ) { do { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5); v7 = *(_DWORD *)(a1 + 1252); if ( v7 < 0 ) v7 = 0; if ( v7 > 9999 ) v7 = 9999; ++v5; *((_DWORD *)v6 + 370) = v7; } while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source