// // SetupTriggerPopup::updateEaseRateLabel from 0x14047cc90 to 0x14047ce68 (472 bytes) // // 3 xrefs: // > SetupTriggerPopup::createEasingControls @ 0x14047ca92 // > SetupTriggerPopup::valuePopupClosed @ 0x14047d175 // > @ 0x1406db870 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SetupTriggerPopup::updateEaseRateLabel(SetupTriggerPopup *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+20h] [rbp-38h] BYREF __int64 v10; // [rsp+30h] [rbp-28h] unsigned __int64 v11; // [rsp+38h] [rbp-20h] v2 = cocos2d::CCString::createWithFormat("%.02f", a1->m_easingRate); CString = cocos2d::CCString::getCString(v2); *(_OWORD *)Block = 0; v10 = 0; v11 = 0; v4 = -1; do ++v4; while ( CString[v4] ); sub_14003A930(Block, CString, v4); if ( a1->m_easingRate == -99999.0 ) { if ( v11 ) { v5 = Block; if ( v11 > 0xF ) v5 = (void **)Block[0]; v10 = 1; *(_WORD *)v5 = 45; } else { v6 = sub_14003AA10(0x10u); v10 = 1; v11 = 15; *(_WORD *)v6 = 45; Block[0] = v6; } } v7 = Block; if ( v11 > 0xF ) v7 = (void **)Block[0]; a1->m_easingRateLabel->setString(&a1->m_easingRateLabel->cocos2d::CCLabelProtocol, (const char *)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 ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source