//
// EditorSoundBrowserLayer::onNextPage from 0x78376e to 0x7837b6 (72 bytes)
//
// 0 xrefs:
//
// 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:59:30 +0000
//
cocos2d::CCArray **__fastcall EditorSoundBrowserLayer::onNextPage(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
EditorSoundBrowserLayer *v2; // r4
cocos2d::CCArray *v3; // r0
v2 = (EditorSoundBrowserLayer *)this;
if ( (unsigned int)*(this + 182) <= 1 )
{
if ( (int)*(this + 191) <= 10 * (int)*(this + 183) + 10 )
return this;
LABEL_6:
++*((_DWORD *)v2 + 183);
return (cocos2d::CCArray **)EditorSoundBrowserLayer::loadCurrentPage(v2, 0, 0);
}
v3 = *(this + 190);
if ( !v3 )
goto LABEL_6;
this = (cocos2d::CCArray **)cocos2d::CCArray::count(v3);
if ( (int)this > 9 )
goto LABEL_6;
return this;
}