// // GJPathsLayer::onPath from 0xba7c5c to 0xba7cf0 (148 bytes) // // 3 xrefs: // > @ 0x7a848 // > GJPathsLayer::init @ 0xba5fd8 // > @ 0x1543208 // // 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:50 +0000 // __int64 __fastcall GJPathsLayer::onPath(GJPathsLayer *this, cocos2d::CCObject *a2) { GJPathPage *v3; // x0 unsigned int v4; // w19 GJPathsLayer *v5; // x2 __int64 v6; // x0 __int64 v7; // x2 GameStatsManager *v8; // x0 GameStatsManager *v9; // x0 __int64 result; // x0 GameStatsManager *v11; // x0 __int64 v12; // x0 v3 = (GJPathPage *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (unsigned int)v3; v6 = GJPathPage::create(v3, this, v5); v7 = *(_QWORD *)v6; *(_BYTE *)(v6 + 596) = 1; v8 = (GameStatsManager *)(*(__int64 (**)(void))(v7 + 1312))(); v9 = (GameStatsManager *)GameStatsManager::sharedState(v8); result = GameStatsManager::getStatFromKey(v9, (GameToolbox *)(v4 + 29)); if ( (int)result > 999 ) { v11 = (GameStatsManager *)GameStatsManager::sharedState((GameStatsManager *)result); result = GameStatsManager::isPathChestUnlocked(v11, v4); if ( !(_BYTE)result ) { v12 = GJPathRewardPopup::create((GJPathRewardPopup *)v4); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 1312LL))(v12); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source