// // SetupTriggerPopup::updateEaseRateLabel from 0x1406145a0 to 0x140614798 (504 bytes) // // 4 xrefs: // > EasingSelectPopup::valueDidChange @ 0x140176a40 // > SetupTriggerPopup::createEasingControls @ 0x14061436f // > SetupTriggerPopup::valuePopupClosed @ 0x140614de3 // > @ 0x140930038 // // 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:35:17 +0000 // void __fastcall SetupTriggerPopup::updateEaseRateLabel(__int64 a1) { cocos2d::CCString *v2; // rax const char *CString; // rax size_t v4; // r8 void **v5; // rax _QWORD *v6; // rsi void **v7; // rdx void *v8; // rcx void *Block[2]; // [rsp+30h] [rbp-48h] BYREF __int64 v10; // [rsp+40h] [rbp-38h] unsigned __int64 v11; // [rsp+48h] [rbp-30h] v2 = cocos2d::CCString::createWithFormat("%.02f", *(float *)(a1 + 820)); CString = cocos2d::CCString::getCString(v2); *(_OWORD *)Block = 0; v10 = 0; v11 = 0; v4 = -1; do ++v4; while ( CString[v4] ); sub_14003D230(Block, CString, v4); if ( *(float *)(a1 + 820) == -99999.0 ) { if ( v11 ) { v5 = Block; if ( v11 > 0xF ) v5 = (void **)Block[0]; v10 = 1; *(_WORD *)v5 = 45; } else { v6 = sub_14003D460(0x10u); v10 = 1; v11 = 15; *(_WORD *)v6 = 45; Block[0] = v6; } } v7 = Block; if ( v11 > 0xF ) v7 = (void **)Block[0]; (**(void (__fastcall ***)(__int64, void **))(*(_QWORD *)(a1 + 800) + 360LL))(*(_QWORD *)(a1 + 800) + 360LL, v7); if ( v11 > 0xF ) { v8 = Block[0]; if ( v11 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source