// // TextArea::update from 0x1000f6ee4 to 0x1000f701c (312 bytes) // // 1 xrefs: // > @ 0x100785a58 // // 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 TextArea::update(TextArea *a1, float a2) { cocos2d::CCDictionary *m_shakeCharacters; // x8 cocos2d::CCDictElement *m_pElements; // x22 cocos2d::CCObject *m_pObject; // x20 float *v6; // x0 float *v7; // x21 float m_shakeElapsed; // s0 float v9; // s8 __n128 v10; // q1 __n128 v11; // q0 cocos2d::CCObject_vtbl *v12; // x9 __int64 copyWithZone_low; // x8 float32x2_t **v14; // x21 unsigned __int64 v15; // x23 float32x2_t *v16; // x20 double v17; // d0 float32x2_t v18; // [xsp+0h] [xbp-60h] BYREF float32x2_t v19; // [xsp+8h] [xbp-58h] BYREF a1->m_shakeElapsed = a1->m_shakeElapsed + a2; m_shakeCharacters = a1->m_shakeCharacters; if ( m_shakeCharacters ) { m_pElements = m_shakeCharacters->m_pElements; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; v6 = (float *)sub_10024A388(m_pObject, 0); if ( v6 ) { v7 = v6; m_shakeElapsed = a1->m_shakeElapsed; if ( m_shakeElapsed > v6[156] ) { v6[156] = m_shakeElapsed + v6[154]; v9 = (float)(v6[155] * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0)) * 0.5; v10.n128_f32[0] = (float)(v7[155] * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0)) * 0.5; v11.n128_f32[0] = v9; sub_100022980(v11, v10, &v19); if ( m_pObject ) { v12 = m_pObject[1].__vftable; copyWithZone_low = LODWORD(v12->copyWithZone); if ( (_DWORD)copyWithZone_low ) { v14 = (float32x2_t **)v12->~CCObject_0; v15 = (unsigned __int64)&v14[copyWithZone_low - 1]; do { v16 = *v14; if ( !*v14 ) break; *(float32x2_t *)&v17 = sub_1000229DC(v16 + 79, &v19, &v18); (*(void (__fastcall **)(float32x2_t *, float32x2_t *, double))(*(_QWORD *)v16 + 184LL))(v16, &v18, v17); ++v14; } while ( (unsigned __int64)v14 <= v15 ); } } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source