// // ScrollableContentLayer::applyContentPosition from 0x10052496c to 0x1005249fc (144 bytes) // // 10 xrefs: // > sub_1005248B0 @ 0x10052493c // > ScrollableContentLayer::setContentHeight @ 0x100524a6c // > ScrollableContentLayer::setViewSize @ 0x100524bc4 // > ScrollableContentLayer::scrollTo @ 0x100524c18 // > sub_100524C1C @ 0x100524c20 // > sub_100525598 @ 0x1005256ac // > sub_100525598 @ 0x10052575c // > ScrollableContentLayer::update @ 0x100525dd8 // > sub_100525E90 @ 0x100525f40 // > sub_100526440 @ 0x100526564 // // 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:07:14 +0000 // __int64 __fastcall ScrollableContentLayer::applyContentPosition(__int64 result) { __int64 v1; // x20 __int64 v2; // x19 float v3; // s0 float v4; // s1 float v5; // [xsp+8h] [xbp-18h] BYREF v1 = *(_QWORD *)(result + 416); if ( v1 ) { v2 = result; if ( *(_BYTE *)(result + 584) == 1 ) { v3 = -*(float *)(result + 436); v4 = 0.0; } else { v4 = *(float *)(result + 428) + *(float *)(result + 436); v3 = 0.0; } sub_1000262BC(&v5, v3, v4); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v1 + 184LL))(v1, &v5); sub_100524D3C(v2); sub_100524E8C(v2); return ScrollableContentLayer::updateSectionVisibility(v2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source