//
// NewsPopup::onNextPage from 0x6c2724 to 0x6c2746 (34 bytes)
//
// 1 xrefs:
// > NewsPopup::keyDown @ 0x6c2766
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:52 +0000
//
int *__fastcall NewsPopup::onNextPage(int *this, cocos2d::CCObject *a2)
{
int v2; // r1
v2 = *(this + 135);
if ( v2 < -858993459 * ((*(this + 133) - *(this + 132)) >> 3) - 1 )
return (int *)NewsPopup::rebuildPage((NewsPopup *)this, v2 + 1);
return this;
}