// // EditorUI::setCustomMoveStep from 0x1401ae790 to 0x1401ae920 (400 bytes) // // 3 xrefs: // > MoveStepPopup::valueDidChange @ 0x1402c997a // > MoveStepPopup::onReset @ 0x1402c9af6 // > @ 0x140919e20 // // 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:27:54 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall EditorUI::setCustomMoveStep(__int64 a1, float a2) { float v3; // xmm0_4 float v4; // xmm6_4 __int64 v5; // rbx unsigned int v6; // edi __int64 v7; // rbx struct cocos2d::CCString *v8; // rax void *v9; // rcx void *v11; // [rsp+30h] [rbp-48h] void *Block[2]; // [rsp+38h] [rbp-40h] BYREF __int64 v13; // [rsp+48h] [rbp-30h] unsigned __int64 v14; // [rsp+50h] [rbp-28h] v3 = fminf(300.0, a2); v4 = 0.0099999998; if ( v3 >= 0.0099999998 ) v4 = v3; *(float *)(a1 + 1704) = v4; v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v11 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } v6 = (int)roundf(v4 * 1000.0); *(_OWORD *)Block = 0; v13 = 3; v14 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0238", 4u); v7 = *(_QWORD *)(v5 + 432); v8 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v6); cocos2d::CCDictionary::setObject(v7, v8, Block); if ( v14 > 0xF ) { v9 = Block[0]; if ( v14 + 1 >= 0x1000 ) { v9 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } return EditorUI::updateDpadStepLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source