// // ChallengesPage::challengeStatusFailed from 0x100036454 to 0x1000364ec (152 bytes) // // 2 xrefs: // > sub_100036530 @ 0x100036534 // > @ 0x1008b46c0 // // 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::challengeStatusFailed(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x0 __int64 result; // x0 v2 = GameStatsManager::sharedState(a1); if ( (sub_1003D1A70(v2) & 1) == 0 ) { v3 = cocos2d::CCDelayTime::create(5.0); cocos2d::CCCallFunc::create(a1, sub_1000364EC, 0); v4 = sub_10021D420(v3); cocos2d::CCNode::runAction(a1, v4); } result = *(_QWORD *)(a1 + 704); if ( result ) { if ( *(_BYTE *)(a1 + 712) == 1 ) return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, 0); } return result; }