// // SetupCameraRotatePopup::updateEasingLabel from 0x9abf48 to 0x9ac114 (460 bytes) // // 3 xrefs: // > SetupCameraRotatePopup::init @ 0x9ad260 // > SetupCameraRotatePopup::onEasing @ 0x9ad78c // > @ 0xb55c0 // // 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::updateEasingLabel(SetupCameraRotatePopup *a1) { GameToolbox *m_cameraEasingType; // x0 void *v3; // x0 unsigned __int8 *v4; // x0 unsigned int *v5; // x1 int v6; // w2 unsigned int *v7; // x1 int v8; // w2 const unsigned __int8 *v9; // [xsp+48h] [xbp+48h] BYREF __int64 v10; // [xsp+50h] [xbp+50h] BYREF sub_D153B8((int)&v9, "Mixed"); m_cameraEasingType = (GameToolbox *)(unsigned int)a1->m_cameraEasingType; if ( (_DWORD)m_cameraEasingType != -99999 ) { GameToolbox::easeToText(m_cameraEasingType, (__int64)&v10); sub_D163D4(&v9, &v10); v3 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v10 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v3); } } a1->m_cameraEasingLabel->setString(a1->m_cameraEasingLabel, v9); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_cameraEasingLabel, 150.0, 0.7, 0.0); v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v9 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *((_DWORD *)v9 - 2); *((_DWORD *)v9 - 2) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source