// // MenuLayer::onAchievements from 0x140335820 to 0x140335971 (337 bytes) // // 2 xrefs: // > MenuLayer::init @ 0x14033408b // > @ 0x1406d5198 // // 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 // // Hidden C++ exception states: #wind=2 void MenuLayer::onAchievements(MenuLayer *a1, cocos2d::CCObject *a2) { void *v3; // rbx void (*v4)(GJDropDownLayer *, bool); // r8 v3 = operator new(0x288u); GJDropDownLayer::GJDropDownLayer((GJDropDownLayer *)v3); *(_QWORD *)v3 = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 40) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 41) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 42) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 43) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 44) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 51) = &AchievementsLayer::`vftable'; *((_QWORD *)v3 + 54) = &AchievementsLayer::`vftable'; *((_DWORD *)v3 + 152) = 0; *((_QWORD *)v3 + 77) = 0; *((_QWORD *)v3 + 78) = 0; *((_QWORD *)v3 + 79) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v3 + 80); if ( GJDropDownLayer::init((GJDropDownLayer *)v3, "Achievements", 220.0, 0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); } else { (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1); v3 = nullptr; } a1->addChild_0(a1, (cocos2d::CCNode *)v3, 100); v4 = *(void (**)(GJDropDownLayer *, bool))(*(_QWORD *)v3 + 1064LL); if ( v4 == GJDropDownLayer::showLayer ) GJDropDownLayer::showLayer((GJDropDownLayer *)v3, 0); else v4((GJDropDownLayer *)v3, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source