// // sub_1004FE7E4 from 0x1004fe7e4 to 0x1004fe8c4 (224 bytes) // // 1 xrefs: // > ThreadViewPopup::threadMessagesFinished @ 0x1004fe48c // // 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 11:06:52 +0000 // unsigned int *__fastcall sub_1004FE7E4(unsigned int *result) { __int64 v1; // x19 __int64 v2; // x9 __int64 v3; // x8 unsigned __int64 v4; // x8 float *i; // x9 float v6; // s2 float v7; // s1 float v8; // s3 float v9; // s0 if ( *((__int64 *)result + 120) >= 1 ) { v1 = (__int64)result; result = *((unsigned int **)result + 103); if ( result ) { v2 = *(_QWORD *)(v1 + 696); v3 = *(_QWORD *)(v1 + 704) - v2; if ( v3 ) { v4 = 0x6DB6DB6DB6DB6DB7LL * (v3 >> 3); if ( v4 <= 1 ) v4 = 1; for ( i = (float *)(v2 + 8); *((_DWORD *)i - 2) != 2; i += 14 ) { if ( !--v4 ) return result; } v6 = *((float *)result + 108); v7 = *(float *)(v1 + 844); v8 = v6 - v7; if ( v6 <= v7 ) v8 = 0.0; if ( (float)((float)-*i - v8) < 24.0 ) { v9 = (float)(v7 * -0.3) - *i; if ( v9 > v8 ) v9 = v8; ScrollableContentLayer::scrollTo(result, fmaxf(v9, 0.0)); return sub_1004FBC14(v1, 1); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source