// // TextArea::update from 0x100322660 to 0x1003227fd (413 bytes) // // 1 xrefs: // > @ 0x100913180 // // 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; // rax cocos2d::CCDictElement *m_pElements; // r13 TextArea *v4; // rbx cocos2d::CCObject *m_pObject; // r12 __int64 v6; // rax float m_shakeElapsed; // xmm0_4 __int64 v8; // rbx int v9; // eax int v10; // eax cocos2d::CCObject_vtbl *v11; // rax unsigned __int64 **v12; // rbx unsigned __int64 v13; // r14 unsigned __int64 *v14; // r12 double v15; // [rsp-50h] [rbp-50h] BYREF unsigned __int64 v16; // [rsp-48h] [rbp-48h] BYREF TextArea *v17; // [rsp-40h] [rbp-40h] float v18; // [rsp-34h] [rbp-34h] a1->m_shakeElapsed = a2 + a1->m_shakeElapsed; m_shakeCharacters = a1->m_shakeCharacters; if ( m_shakeCharacters ) { m_pElements = m_shakeCharacters->m_pElements; if ( m_pElements ) { v4 = a1; v17 = a1; do { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; v6 = sub_1007200C0(m_pObject, 0); if ( v6 ) { m_shakeElapsed = v4->m_shakeElapsed; if ( m_shakeElapsed > *(float *)(v6 + 624) ) { *(float *)(v6 + 624) = m_shakeElapsed + *(float *)(v6 + 616); v8 = v6; v9 = rand(); v18 = (float)((float)((float)((float)((float)v9 * 4.6566129e-10) + (float)((float)v9 * 4.6566129e-10)) + -1.0) * *(float *)(v8 + 620)) * 0.5; v10 = rand(); sub_10028CBE0( (float *)&v16, v18, (float)((float)((float)((float)((float)v10 * 4.6566129e-10) + (float)((float)v10 * 4.6566129e-10)) + -1.0) * *(float *)(v8 + 620)) * 0.5); if ( m_pObject ) { v11 = m_pObject[1].__vftable; if ( LODWORD(v11->copyWithZone) ) { v12 = (unsigned __int64 **)v11->~CCObject_0; v13 = (unsigned __int64)&v12[LODWORD(v11->copyWithZone) - 1]; do { v14 = *v12; if ( !*v12 ) break; sub_10028CCE0(&v15, v14 + 79, &v16); (*(void (__fastcall **)(unsigned __int64 *, double *))(*v14 + 184))(v14, &v15); ++v12; } while ( (unsigned __int64)v12 <= v13 ); } } v4 = v17; } } } while ( m_pElements ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source