// // ScrollableContentLayer::clampOffset from 0x1400810d0 to 0x140081133 (99 bytes) // // 65 xrefs: // > CCTextInputNode::scrollToCursor @ 0x140054b9f // > CCTextInputNode::updateLabel @ 0x140056539 // > ScrollableContentLayer::restoreScrollOffset @ 0x140081098 // > AccountReviewPopup::buildReportedRows @ 0x1400b588e // > AccountReviewPopup::buildFilterRows @ 0x1400b719a // > AccountReviewPopup::buildHistoryRows @ 0x1400b81e8 // > AccountReviewPopup::rebuildRows @ 0x1400b8306 // > PagedListPopup::clearPageContent @ 0x1400c3700 // > PagedListPopup::clearPageContent @ 0x1400c372d // > SFXFolderPickerPopup::rebuildList @ 0x1400c5c47 // > SFXFolderPickerPopup::refreshList @ 0x1400c5ddb // > ReportQueuePopup::buildRows @ 0x1400c9441 // > AutoBackupPopup::buildRows @ 0x1400cb7ee // > ThreadViewPopup::exitSearch @ 0x1400dbede // > ThreadViewPopup::threadMessagesFinished @ 0x1400df57d // > ThreadViewPopup::threadMessagesFinished @ 0x1400dfd00 // > ThreadViewPopup::threadMessagesFinished @ 0x1400dfd49 // > ThreadViewPopup::threadMessagesFinished @ 0x1400dfea6 // > ThreadViewPopup::onScrollToBottom @ 0x1400e0021 // > ThreadViewPopup::layoutComposeBar @ 0x1400e3acb // > ThreadViewPopup::layoutComposeBar @ 0x1400e3d67 // > ThreadViewPopup::layoutComposeBar @ 0x1400e3dff // > MemberListPopup::buildRows @ 0x1400ecde0 // > InvitesPopup::buildRows @ 0x1400f90ff // > DeathTrackerPopup::buildList @ 0x14010c176 // > DeathHistogram::setData @ 0x1401121a4 // > DeathHistogram::setData @ 0x1401123c6 // > DeathHistogram::setSurvival @ 0x140112b03 // > DeathHistogram::setSurvival @ 0x140112b2a // > DeathHistogram::setSurvival @ 0x140112dc2 // > DeathHistogram::setSurvival @ 0x140112e48 // > DeathHistogram::setAttemptLine @ 0x140114000 // > DeathHistogram::setAttemptLine @ 0x140114040 // > DeathHistogram::setAttemptLine @ 0x140114180 // > DeathHistogram::setAttemptLine @ 0x1401141aa // > DeathHistogram::setProgression @ 0x1401143ed // > DeathHistogram::setProgression @ 0x1401148c1 // > DeathHistogram::setProgression @ 0x1401148ea // > DeathHistogram::handleTouchBegan @ 0x1401149cc // > DropdownListPopup::init @ 0x140121ada // > EmotePickerPopup::layoutEmoteGrid @ 0x140124346 // > EditorCommandsPopup::layoutCommandButtons @ 0x14017da80 // > EditorWindowPopup::initWindow @ 0x14017e3e9 // > EditorWindowPopup::applyWindowSize @ 0x14017e7aa // > FindObjectPopup::onBuildWindowContent @ 0x140180995 // > EditorSFXActionConfigLayer::refreshRows @ 0x14018477d // > EditorSFXActionConfigLayer::refreshRows @ 0x1401847ac // > EditorSFXActionConfigLayer::refreshRowsAddedDeferred @ 0x140184a4e // > EditorSoundConfigInfoLayer::buildSummary @ 0x140194d05 // > sub_140194DC0 @ 0x140194e79 // > EditorSoundsLayer::buildContentForTab @ 0x14019e052 // > EditorSoundsLayer::showTab @ 0x14019e3aa // > EditorSoundsLayer::showTab @ 0x14019e58a // > EditorSoundsLayer::textChanged @ 0x14019e6f4 // > IDNameBrowserPopup::textChanged @ 0x1403c3610 // > IDNameBrowserPopup::onToggleSort @ 0x1403c485e // > KeybindingsLayer::buildContentForTab @ 0x1403d7756 // > KeybindingsLayer::showTab @ 0x1403d7a80 // > KeybindingsLayer::showTab @ 0x1403d7c56 // > KeybindingsLayer::textChanged @ 0x1403d8594 // > NewsPopup::rebuildPage @ 0x14049e78a // > NewsPopup::rebuildPage @ 0x14049e907 // > NewsPopup::rebuildPage @ 0x14049f85e // > SetGroupIDLayer::updateGroupIDButtons @ 0x140592a7a // > ScrollViewPopup::initPopup @ 0x140621eba // // This function is hookable on this platform (idp: pc, 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:25:55 +0000 // __int64 __fastcall ScrollableContentLayer::clampOffset(__int64 a1) { float v1; // xmm1_4 float v2; // xmm2_4 float v3; // xmm0_4 __int64 result; // rax if ( *(_BYTE *)(a1 + 568) ) v1 = *(float *)(a1 + 424); else v1 = *(float *)(a1 + 428); v2 = fmaxf(0.0, *(float *)(a1 + 432) - v1); v3 = *(float *)(a1 + 436); if ( v3 >= 0.0 ) { if ( v3 > v2 ) { *(float *)(a1 + 436) = v2; *(_DWORD *)(a1 + 472) = 0; return 0; } } else { *(_DWORD *)(a1 + 436) = 0; *(_DWORD *)(a1 + 472) = 0; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source