// // ChallengesPage::show from 0x1000365c4 to 0x10003673c (376 bytes) // // 1 xrefs: // > @ 0x1008b4690 // // 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 10:57:32 +0000 // __int64 __fastcall ChallengesPage::show(__int64 a1) { __int64 v3; // x20 double *v4; // x0 __int64 v5; // x21 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x21 __int64 v11; // x0 int v12; // w2 float v13; // [xsp+0h] [xbp-30h] BYREF __int64 v14; // [xsp+8h] [xbp-28h] BYREF if ( *(_BYTE *)(a1 + 596) == 1 ) return FLAlertLayer::show(a1); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1152LL))(a1); v4 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584)); sub_1000262F4(&v14, v4); v5 = *(_QWORD *)(a1 + 584); sub_1000262BC(&v13, -160.0, *((float *)&v14 + 1)); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v13); v6 = cocos2d::CCMoveTo::create(&v14, 0.5); v7 = cocos2d::CCEaseElasticOut::create(v6, 0.6); v8 = cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 584), v7); v9 = cocos2d::CCDirector::sharedDirector(v8); v10 = *(_QWORD *)(a1 + 568); if ( !v10 ) { v10 = *(_QWORD *)(v9 + 272); if ( (int)cocos2d::CCScene::getHighestChildZ(v10) < 105 ) v12 = 105; else v12 = cocos2d::CCScene::getHighestChildZ(v10) + 1; *(_DWORD *)(a1 + 592) = v12; if ( v12 ) goto LABEL_6; goto LABEL_5; } if ( !*(_DWORD *)(a1 + 592) ) LABEL_5: *(_DWORD *)(a1 + 592) = 105; LABEL_6: (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 464LL))(v10, a1); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1168LL))(a1, 0); v11 = cocos2d::CCFadeTo::create(v3, 0.14); cocos2d::CCNode::runAction(a1, v11); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 344LL))(a1, 1); }