// // MenuLayer::showGCQuestion from 0x5c260c to 0x5c2754 (328 bytes) // // 2 xrefs: // > MenuLayer::onGameCenter @ 0x5c27a0 // > @ 0x7d760 // // 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 MenuLayer::showGCQuestion(MenuLayer *a1) { int v1; // w21 FLAlertLayer *v2; // x19 void *v3; // x0 AppDelegate *v4; // x0 FLAlertLayer_vtbl *v5; // x1 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+40h] [xbp+40h] BYREF v1 = (int)a1; sub_D153B8( (int)&v8, "Do you want to enable\nGame Center? You can change this anytime in the options menu."); v2 = FLAlertLayer::create(v1 + 408, (__int64)"Game Center", (__int64)&v8); v3 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v3); } v2->setTag(v2, 1); v4 = AppDelegate::get(); v5 = v2->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v2->m_scene = (cocos2d::CCNode *)v4->cocos2d::CCSceneDelegate::__vftable; v5->show(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source