// // SetupCameraRotatePopup::updateEasingRateLabel from 0x9abd6c to 0x9abeac (320 bytes) // // 4 xrefs: // > SetupCameraRotatePopup::init @ 0x9accf4 // > SetupCameraRotatePopup::valuePopupClosed @ 0x9ad868 // > SetupCameraRotatePopup::valuePopupClosed @ 0x9ad888 // > @ 0x5ac78 // // 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 SetupCameraRotatePopup::updateEasingRateLabel(SetupCameraRotatePopup *a1) { cocos2d::CCString *v2; // x0 char *CString; // x0 long double v4; // q0 void *v5; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+40h] [xbp+40h] BYREF v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.02f", _stack_chk_guard, a1->m_cameraEasingRate); CString = (char *)cocos2d::CCString::getCString(v2); sub_D153B8((int)&v8, CString); LODWORD(v4) = -943501440; if ( a1->m_cameraEasingRate == -99999.0 ) *(__n128 *)&v4 = sub_D1798C(&v8, &byte_F10E40, 1); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64, long double))a1->m_cameraEasingRateLabel->setString)( a1->m_cameraEasingRateLabel, v8, v4); v5 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source