// // ScrollableContentLayer::clampOffset from 0x6e1c50 to 0x6e1cb8 (104 bytes) // // 6 xrefs: // > ScrollableContentLayer::setContentHeight @ 0x6e5a68 // > ScrollableContentLayer::setViewSize @ 0x6e5ab8 // > ScrollableContentLayer::scrollTo @ 0x6e5af0 // > ScrollableContentLayer::handleTouchMoved @ 0x6e5d0c // > ScrollableContentLayer::reloadVirtualRows @ 0x6e6324 // > @ 0x7ebe0 // // 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 12:51:39 +0000 // __int64 __fastcall ScrollableContentLayer::clampOffset(__int64 this) { float v1; // s1 float v2; // s0 float v3; // s1 v1 = *(float *)(this + 424); if ( !*(_BYTE *)(this + 584) ) v1 = *(float *)(this + 428); v2 = *(float *)(this + 432) - v1; if ( v2 >= 0.0 ) { v3 = *(float *)(this + 436); if ( v3 >= 0.0 ) goto LABEL_5; LABEL_9: *(_DWORD *)(this + 436) = 0; *(_DWORD *)(this + 472) = 0; return this; } v3 = *(float *)(this + 436); v2 = 0.0; if ( v3 < 0.0 ) goto LABEL_9; LABEL_5: if ( v2 < v3 ) { *(float *)(this + 436) = v2; *(_DWORD *)(this + 472) = 0; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source