// // SetupCameraOffsetTrigger::updateDuration from 0x1405aefe0 to 0x1405af059 (121 bytes) // // 8 xrefs: // > SetupCameraOffsetTrigger::sliderChanged @ 0x1405ae5d4 // > SetupCameraOffsetTrigger::textChanged @ 0x1405aeb5a // > SetupMGTrigger::textChanged @ 0x1405bdd15 // > SetupRandTriggerPopup::sliderChanged @ 0x1405d5b3a // > SetupRandTriggerPopup::textChanged @ 0x1405d602a // > SetupShakePopup::sliderChanged @ 0x1405eb551 // > SetupShakePopup::textChanged @ 0x1405ebb18 // > @ 0x14092d9ec // // 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:41 +0000 // // Merged with: SetupCameraOffsetTrigger::updateDuration, SetupMGTrigger::updateDuration, SetupRandTriggerPopup::updateChance, SetupShakePopup::updateDuration unsigned int __fastcall SetupCameraOffsetTrigger::updateDuration(__int64 a1) { __int64 v2; // rcx unsigned int result; // eax unsigned int v4; // edi struct cocos2d::CCObject *v5; // rax v2 = *(_QWORD *)(a1 + 680); if ( v2 ) { result = *(_DWORD *)(a1 + 1016); *(_DWORD *)(v2 + 1468) = result; } else { v4 = 0; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); if ( result ) { do { v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v4++); *((_DWORD *)v5 + 367) = *(_DWORD *)(a1 + 1016); result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); } while ( v4 < result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source