//
// DialogLayer::updateNavButtonFrame from 0x1003b1170 to 0x1003b11d5 (101 bytes)
//
// 0 xrefs:
//
// 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:25 +0000
//
__int64 __fastcall DialogLayer::updateNavButtonFrame(__int64 a1)
{
__int64 v2; // rdi
const char *v3; // r14
__int64 v4; // rbx
__int64 v5; // rax
__int64 v6; // rax
v2 = *(_QWORD *)(a1 + 592);
if ( v2 )
{
v3 = "GJ_chatBtn_01_001.png";
if ( !(unsigned int)sub_1007FEF90(v2) )
v3 = "GJ_chatBtn_02_001.png";
}
else
{
v3 = "GJ_chatBtn_02_001.png";
}
v4 = *(_QWORD *)(a1 + 608);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);
}