// // ThreadViewPopup::layoutComposeBar from 0x747350 to 0x7475e0 (656 bytes) // // 2 xrefs: // > ThreadViewPopup::textChanged @ 0x74897a // > ThreadViewPopup::init @ 0x75cd34 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:58:43 +0000 // void __fastcall ThreadViewPopup::layoutComposeBar(ThreadViewPopup *this) { int v2; // r7 void (__fastcall *v3)(int, float *); // r8 float v4; // s16 float v5; // s17 float *v6; // r7 int v7; // r7 void (__fastcall *v8)(int, float *); // r8 float v9; // r0 int v10; // r7 float v11; // s16 void (__fastcall *v12)(int, float *); // r8 int v13; // r7 void (__fastcall *v14)(int, float *); // r8 float v15; // r0 int v16; // r3 float v17; // s17 float v18; // r1 float v19; // s15 int v20; // r7 void (__fastcall *v21)(int, float *); // r9 ScrollableContentLayer *v22; // r7 int v23; // r2 int v24; // r3 int v25; // r7 void (__fastcall *v26)(int, float *); // r8 float *v27; // r0 float v28; // r1 float v29[2]; // [sp+4h] [bp-10h] BYREF if ( *((_DWORD *)this + 171) ) { v2 = *((_DWORD *)this + 186); if ( v2 ) { v3 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v2 + 160); v4 = (float)(15 * *((_DWORD *)this + 192) + 13); v5 = (float)(v4 * 0.5) + *((float *)this + 193); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v29, *((float *)this + 194) + 12.0, v4); v3(v2, v29); (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 186) + 116))( *((_DWORD *)this + 186), COERCE_FLOAT(LODWORD(v5))); (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 171) + 116))( *((_DWORD *)this + 171), COERCE_FLOAT(LODWORD(v5))); v6 = *((float **)this + 171); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v29, *((float *)this + 194), v4 - 8.0); CCTextInputNode::setTextScrollViewSize(v6, v29); v7 = *((_DWORD *)this + 187); if ( v7 ) { v8 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v7 + 92); v9 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 186) + 112))(*((_DWORD *)this + 186)); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v29, (float)(v9 + (float)((float)(*((float *)this + 194) + 12.0) * 0.5)) - 3.0, (float)(v5 + (float)(v4 * 0.5)) - 2.0); v8(v7, v29); } v10 = *((_DWORD *)this + 188); v11 = (float)(v4 + *((float *)this + 193)) + 10.0; if ( v10 ) { v12 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v10 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, *((float *)this + 159), v11 + 16.0); v12(v10, v29); } v13 = *((_DWORD *)this + 189); if ( v13 ) { v14 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v13 + 92); v15 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 186) + 112))(*((_DWORD *)this + 186)); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v29, (float)(v15 + (float)((float)(*((float *)this + 194) + 12.0) * 0.5)) - 12.0, v11 + 16.0); v14(v13, v29); } v16 = *((_DWORD *)this + 155); if ( v16 ) v17 = (float)(*(float *)(v16 + 332) - *((float *)this + 158)) - *(float *)(v16 + 336); else v17 = 0.0; v18 = *((float *)this + 159); v19 = *((float *)this + 195); *((float *)this + 158) = v19 - v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v29, v18, (float)(v19 + v11) * 0.5); cocos2d::CCPoint::operator=((char *)this + 636, v29); v20 = *((_DWORD *)this + 191); if ( v20 ) { v21 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v20 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v29, *((float *)this + 157), *((float *)this + 158)); v21(v20, v29); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 191) + 92))( *((_DWORD *)this + 191), (char *)this + 636); } v22 = *((ScrollableContentLayer **)this + 155); if ( v22 ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)v29, *((float *)this + 157), *((float *)this + 158)); ScrollableContentLayer::setViewSize(v22, (int)v29, v23, v24); v25 = *((_DWORD *)this + 155); v26 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v25 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v29, *((float *)this + 159) - (float)(*((float *)this + 157) * 0.5), *((float *)this + 160) - (float)(*((float *)this + 158) * 0.5)); v26(v25, v29); v27 = *((float **)this + 155); if ( (float)((float)(v27[83] - *((float *)this + 158)) - v17) > 0.0 ) v28 = (float)(v27[83] - *((float *)this + 158)) - v17; else v28 = 0.0; ScrollableContentLayer::scrollTo((ScrollableContentLayer *)v27, v28); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source