// // GJPFollowCommandLayer::updateYModLabel from 0x100366540 to 0x10036664d (269 bytes) // // 2 xrefs: // > GJPFollowCommandLayer::init @ 0x100365db7 // > GJPFollowCommandLayer::sliderYModChanged @ 0x1003661ad // // 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 __fastcall GJPFollowCommandLayer::updateYModLabel(GJPFollowCommandLayer *a1) { __m128 m_delay_low; // xmm0 cocos2d::CCString *v2; // rax const char *CString; // r15 CCTextInputNode *m_delayInput; // r14 size_t v5; // rax size_t v6; // r12 char *v7; // r13 size_t v8; // r14 char v9; // [rsp+0h] [rbp-50h] CCTextInputNode *v10; // [rsp+8h] [rbp-48h] _QWORD __dst[2]; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] a1->m_disableTextDelegate = 1; m_delay_low = (__m128)LODWORD(a1->m_delay); if ( m_delay_low.f32[0] == -99999.0 ) { CString = ""; } else { *(double *)m_delay_low.i64 = m_delay_low.f32[0]; v2 = (cocos2d::CCString *)sub_1007AB580("%0.2f", v9); CString = cocos2d::CCString::getCString(v2); } m_delayInput = a1->m_delayInput; v5 = strlen(CString); if ( v5 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(*(double *)m_delay_low.i64); v6 = v5; if ( v5 >= 0x17 ) { v10 = a1->m_delayInput; v8 = 26; if ( (v5 | 7) != 0x17 ) v8 = (v5 | 7) + 1; v7 = (char *)operator new(v8); __p = v7; __dst[0] = v8 + 1; m_delayInput = v10; __dst[1] = v6; goto LABEL_11; } LOBYTE(__dst[0]) = 2 * v5; v7 = (char *)__dst + 1; if ( v5 ) LABEL_11: memmove(v7, CString, v6); v7[v6] = 0; CCTextInputNode::setString(m_delayInput, (__int64)__dst, m_delay_low); if ( (__dst[0] & 1) != 0 ) operator delete(__p); a1->m_disableTextDelegate = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source