// // GJPathPage::onIconInfo from 0xba5080 to 0xba51f4 (372 bytes) // // 3 xrefs: // > @ 0x7ddd0 // > GJPathPage::init @ 0xba6b34 // > @ 0x15433f8 // // 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:02:48 +0000 // __int64 __fastcall GJPathPage::onIconInfo(GJPathPage *this, cocos2d::CCObject *a2) { unsigned int v2; // w21 unsigned int v3; // w0 cocos2d::CCString *v4; // x0 size_t v5; // x0 GameManager *v6; // x0 __int64 v7; // x22 __int64 v8; // x0 char *CString; // [xsp+38h] [xbp+38h] unsigned int v11; // [xsp+40h] [xbp+40h] BYREF signed int v12; // [xsp+44h] [xbp+44h] BYREF __int64 v13; // [xsp+48h] [xbp+48h] BYREF size_t v14; // [xsp+50h] [xbp+50h] void *v15; // [xsp+58h] [xbp+58h] __int64 v16; // [xsp+60h] [xbp+60h] BYREF size_t v17; // [xsp+68h] [xbp+68h] void *v18; // [xsp+70h] [xbp+70h] v2 = *((_DWORD *)this + 172); v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"geometry.ach.path%02d.%02d", (const char *)v2, v3); v13 = 0; CString = (char *)cocos2d::CCString::getCString(v4); v14 = 0; v15 = nullptr; v5 = strlen(CString); v6 = (GameManager *)std::string::__init(&v13, CString, v5); v11 = 0; v12 = 0; v7 = GameManager::sharedState(v6); v16 = 0; v17 = 0; v18 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init(&v16, v15, v14); } else { v18 = v15; v16 = v13; v17 = v14; } GameManager::getUnlockForAchievement(v7, (__int64)&v16, &v11, &v12); if ( (v16 & 1) != 0 ) operator delete(v18); if ( v12 > 0 ) { v8 = ItemInfoPopup::create(v11, v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); } if ( (v13 & 1) != 0 ) operator delete(v15); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source