//
// GJPathPage::onIconInfo from 0x58ba7c to 0x58bb18 (156 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJPathPage::onIconInfo(GJPathPage *a1, cocos2d::CCObject *a2)
{
const char *m_pathNumber; // r5
int v3; // r0
cocos2d::CCString *v4; // r0
char *CString; // r0
GameManager *v6; // r7
ItemInfoPopup *v7; // r0
_BYTE v8[4]; // [sp+4h] [bp-18h] BYREF
int v9; // [sp+8h] [bp-14h] BYREF
UnlockType v10; // [sp+Ch] [bp-10h] BYREF
const char *v11; // [sp+10h] [bp-Ch] BYREF
m_pathNumber = (const char *)a1->m_pathNumber;
v3 = a2->getTag(a2);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"geometry.ach.path%02d.%02d",
m_pathNumber,
v3);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_776584((int)v8, CString);
v9 = 0;
v10 = 0;
v6 = GameManager::sharedState();
sub_775C20(&v11);
GameManager::getUnlockForAchievement((int)v6, &v11, &v9, (int *)&v10);
sub_774008(&v11);
if ( v10 > 0 )
{
v7 = ItemInfoPopup::create(v9, v10);
v7->show(v7);
}
sub_774008(v8);
}