//
// DialogLayer::displayNextObject from 0x1401750b0 to 0x140175109 (89 bytes)
//
// 3 xrefs:
// > DialogLayer::init @ 0x14017505d
// > DialogLayer::handleDialogTap @ 0x14017562b
// > ??> @ 0x140918428
//
// 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:27:32 +0000
//
unsigned int __fastcall DialogLayer::displayNextObject(__int64 a1)
{
unsigned int result; // eax
struct cocos2d::CCObject *v3; // rax
result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 592));
if ( result )
{
v3 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 592), 0);
DialogLayer::displayDialogObject(a1, v3);
cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)(a1 + 592), 0, 1);
return DialogLayer::updateNavButtonFrame(a1);
}
return result;
}