// // SetupShakePopup::updateDurLabel from 0x6299c4 to 0x629a7e (186 bytes) // // 2 xrefs: // > SetupShakePopup::sliderChanged @ 0x629c6e // > SetupShakePopup::init @ 0x62a268 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:55:11 +0000 // int __fastcall SetupShakePopup::updateDurLabel(SetupShakePopup *this, const char *a2) { float v2; // s15 cocos2d::CCString *v4; // r0 const char *CString; // r6 size_t v6; // r0 int v7; // r9 int result; // r0 int v9[3]; // [sp+0h] [bp-14h] BYREF v2 = *((float *)this + 180); *((_BYTE *)this + 568) = 1; if ( v2 == -99999.0 ) { CString = "Mixed"; } else { if ( a2 || (float)(v2 - (float)(int)v2) != 0.0 ) v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", a2, v2); else v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)(int)v2); CString = (const char *)cocos2d::CCString::getCString(v4); } memset(v9, 0, sizeof(v9)); v6 = strlen(CString); v7 = *((_DWORD *)this + 178); std::string::__init(v9, CString, v6); CCTextInputNode::setString(v7, (int)v9); result = std::string::~string((int)v9); *((_BYTE *)this + 568) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source