// // SetupCameraRotatePopup::updateEasingRateLabel from 0xaec180 to 0xaec338 (440 bytes) // // 4 xrefs: // > SetupCameraRotatePopup::valuePopupClosed @ 0xaeca80 // > SetupCameraRotatePopup::valuePopupClosed @ 0xaecaa0 // > SetupCameraRotatePopup::init @ 0xaede44 // > @ 0x7c990 // // 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:10 +0000 // __int64 __fastcall SetupCameraRotatePopup::updateEasingRateLabel(SetupCameraRotatePopup *this) { cocos2d::CCString *v2; // x0 const char *CString; // x24 size_t v4; // x0 size_t v5; // x20 unsigned __int64 v6; // x0 char *v7; // x3 void (*v8)(void); // x2 char *v10; // x0 __int64 v11; // x0 __int64 v12; // [xsp+40h] [xbp+40h] BYREF __int64 v13; // [xsp+48h] [xbp+48h] void *v14; // [xsp+50h] [xbp+50h] v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.02f", _stack_chk_guard, *((float *)this + 263)); v12 = 0; CString = (const char *)cocos2d::CCString::getCString(v2); v13 = 0; v14 = nullptr; v4 = strlen(CString); v5 = v4; if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62EA7C(); if ( v4 <= 0x16 ) { LOBYTE(v12) = 2 * v4; v7 = (char *)&v12 + 1; if ( !v4 ) { BYTE1(v12) = 0; if ( *((float *)this + 263) != -99999.0 ) goto LABEL_5; goto LABEL_11; } } else { v6 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v12 = v6 | 1; v7 = (char *)operator new(v6); v14 = v7; v13 = v5; } *((_BYTE *)memcpy(v7, CString, v5) + v5) = 0; if ( *((float *)this + 263) != -99999.0 ) { LABEL_5: v8 = *(void (**)(void))(**((_QWORD **)this + 133) + 928LL); goto LABEL_6; } LABEL_11: v10 = (char *)&v12 + 1; if ( (v12 & 1) != 0 ) v10 = (char *)v14; v10[1] = 0; *v10 = 45; if ( (v12 & 1) != 0 ) { v11 = *((_QWORD *)this + 133); v13 = 1; v8 = *(void (**)(void))(*(_QWORD *)v11 + 928LL); } else { LOBYTE(v12) = 2; v8 = *(void (**)(void))(**((_QWORD **)this + 133) + 928LL); } LABEL_6: v8(); if ( (v12 & 1) != 0 ) operator delete(v14); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source