// // SetupTriggerPopup::updateCustomEaseRateLabel from 0xb1e0e0 to 0xb1e22c (332 bytes) // // 4 xrefs: // > SetupTriggerPopup::createCustomEasingControls @ 0xb22894 // > SetupTriggerPopup::valuePopupClosed @ 0xb24cd8 // > EasingSelectPopup::valueDidChange @ 0xcbae10 // > @ 0xbe660 // // This function is hookable on this platform (idp: arm, 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 13:01:35 +0000 // __int64 __fastcall SetupTriggerPopup::updateCustomEaseRateLabel(cocos2d::CCDictionary **this, int a2, float a3) { const char *v3; // x1 __int64 v4; // x22 cocos2d::CCString *v5; // x0 const char *CString; // x24 size_t v7; // x0 size_t v8; // x20 unsigned __int64 v9; // x0 char *v10; // x3 char *v11; // x1 __int64 v14; // [xsp+50h] [xbp+50h] BYREF size_t v15; // [xsp+58h] [xbp+58h] void *v16; // [xsp+60h] [xbp+60h] v4 = cocos2d::CCDictionary::objectForKey(*(this + 118), a2); if ( !v4 ) return _stack_chk_guard; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v3, a3); v14 = 0; CString = (const char *)cocos2d::CCString::getCString(v5); v15 = 0; v16 = nullptr; v7 = strlen(CString); v8 = v7; if ( v7 > 0xFFFFFFFFFFFFFFEFLL ) sub_62ED7C(); if ( v7 <= 0x16 ) { LOBYTE(v14) = 2 * v7; v10 = (char *)&v14 + 1; if ( !v7 ) goto LABEL_6; } else { v9 = (v7 + 16) & 0xFFFFFFFFFFFFFFF0LL; v14 = v9 | 1; v10 = (char *)operator new(v9); v16 = v10; v15 = v8; } v10 = (char *)memcpy(v10, CString, v8); LABEL_6: v10[v8] = 0; v11 = (char *)&v14 + 1; if ( (v14 & 1) != 0 ) v11 = (char *)v16; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 928LL))(v4, v11); if ( (v14 & 1) != 0 ) operator delete(v16); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source