// // sub_1003AE2B0 from 0x1003ae2b0 to 0x1003ae359 (169 bytes) // // 1 xrefs: // > sub_1003AE1F0 @ 0x1003ae25b // // This function is hookable on this platform (idp: pc, 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 12:29:24 +0000 // __int64 __fastcall sub_1003AE2B0(__int64 a1, double a2) { std::string *v3; // r14 __int64 v4; // rax std::string::pointer data; // rdi __int64 v6; // r14 _DWORD *v7; // rax char *v8; // rax std::string __str; // [rsp+0h] [rbp-30h] BYREF *(_DWORD *)(GameManager::sharedState() + 708) = 9; v3 = (std::string *)(*(_QWORD *)(a1 + 336) + 392LL); v4 = LocalLevelManager::sharedState(a2); LocalLevelManager::getMainLevelString( &__str, v4, (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 336) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 336) + 332LL))); data = (std::string::pointer)v3; std::string::operator=(v3, &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) { data = __str.__r_.__value_.__l.__data_; operator delete(__str.__r_.__value_.__l.__data_); } v6 = cocos2d::CCDirector::sharedDirector(data, &__str); v7 = PlayLayer::scene(*(_QWORD *)(a1 + 336), 0); v8 = cocos2d::CCTransitionFade::create_1((__int64)v7, 0.5); return cocos2d::CCDirector::replaceScene(v6, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source