//
// DialogLayer::updateNavButtonFrame from 0xa70514 to 0xa7059c (136 bytes)
//
// 4 xrefs:
// > DialogLayer::finishCurrentAnimation @ 0xa705f8
// > DialogLayer::displayNextObject @ 0xa70e48
// > DialogLayer::init @ 0xa713c4
// > ??> @ 0xad350
//
// 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 13:00:23 +0000
//
__int64 __fastcall DialogLayer::updateNavButtonFrame(DialogLayer *this)
{
cocos2d::CCArray *v2; // x0
cocos2d::CCSpriteFrameCache **v3; // x19
__int64 (__fastcall *v4)(cocos2d::CCSpriteFrameCache **, __int64); // x20
cocos2d::CCSpriteFrameCache *v5; // x0
__int64 v6; // x0
cocos2d::CCSpriteFrameCache **v8; // x19
__int64 (__fastcall *v9)(cocos2d::CCSpriteFrameCache **, __int64); // x20
cocos2d::CCSpriteFrameCache *v10; // x0
__int64 v11; // x0
v2 = *((cocos2d::CCArray **)this + 74);
if ( v2 && (unsigned int)cocos2d::CCArray::count(v2) )
{
v8 = *((cocos2d::CCSpriteFrameCache ***)this + 76);
v9 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v8 + 145);
v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v8);
v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, "GJ_chatBtn_01_001.png");
return v9(v8, v11);
}
else
{
v3 = *((cocos2d::CCSpriteFrameCache ***)this + 76);
v4 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v3 + 145);
v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v3);
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_chatBtn_02_001.png");
return v4(v3, v6);
}
}