//
// DialogLayer::updateNavButtonFrame from 0x1000904c4 to 0x100090524 (96 bytes)
//
// 3 xrefs:
// > DialogLayer::init @ 0x1000900d0
// > DialogLayer::displayNextObject @ 0x100090190
// > DialogLayer::finishCurrentAnimation @ 0x1000906f8
//
// This function is hookable on this platform (idp: arm, 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 10:58:23 +0000
//
__int64 __fastcall DialogLayer::updateNavButtonFrame(__int64 a1)
{
__int64 v2; // x0
const char *v3; // x19
__int64 v4; // x20
__int64 v5; // x0
__int64 v6; // x1
v2 = *(_QWORD *)(a1 + 592);
v3 = "GJ_chatBtn_02_001.png";
if ( v2 )
{
v2 = sub_1002E757C(v2);
if ( (_DWORD)v2 )
v3 = "GJ_chatBtn_01_001.png";
}
v4 = *(_QWORD *)(a1 + 608);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);
}