// // WorldSelectLayer::goToPage from 0x1003abfe0 to 0x1003ac0c0 (224 bytes) // // 4 xrefs: // > WorldSelectLayer::init @ 0x1003ab904 // > WorldSelectLayer::onPrev @ 0x1003aba01 // > WorldSelectLayer::onNext @ 0x1003aba31 // > WorldSelectLayer::animateInActiveIsland @ 0x1003abf58 // // 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 12:29:24 +0000 // __int64 __fastcall WorldSelectLayer::goToPage(__int64 *a1, int a2, char a3) { __int64 result; // rax __int64 v6; // rdi __int64 v7; // rax __int64 v8; // rdi bool v9; // al __int64 v10; // rdi __int64 v11; // rbx int v12; // r14d bool v13; // al result = BoomScrollLayer::getTotalPages(a1[53]); if ( a2 < 0 || (int)result <= a2 ) return result; BoomScrollLayer::quickUpdate(a1[53]); v6 = a1[53]; if ( !a3 ) { BoomScrollLayer::moveToPage(v6, a2); v7 = a1[53]; v8 = a1[54]; if ( v7 ) goto LABEL_5; LABEL_8: v9 = 0; goto LABEL_9; } BoomScrollLayer::instantMoveToPage(v6, a2); v7 = a1[53]; v8 = a1[54]; if ( !v7 ) goto LABEL_8; LABEL_5: v9 = *(_DWORD *)(v7 + 588) > 0; LABEL_9: (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 344LL))(v8, v9); v10 = a1[53]; v11 = a1[55]; if ( v10 ) { v12 = *(_DWORD *)(v10 + 588); v13 = v12 < (int)(BoomScrollLayer::getTotalPages(v10) - 1); } else { v13 = 0; } return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v11 + 344LL))(v11, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source