// // sub_1002E3CF0 from 0x1002e3cf0 to 0x1002e3e64 (372 bytes) // // 1 xrefs: // > LevelListLayer::FLAlert_Clicked @ 0x1002e3c68 // // 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 11:02:49 +0000 // void __fastcall sub_1002E3CF0(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x8 __int64 v5; // x8 std::string::size_type size; // x9 char v7; // w8 __int64 v8; // x9 int v9; // w8 __int64 v10; // x19 _QWORD *v11; // x0 char *v12; // x0 std::string __p; // [xsp+0h] [xbp-60h] BYREF std::string __dst; // [xsp+20h] [xbp-40h] BYREF if ( (*(_BYTE *)(a1 + 952) & 1) == 0 ) { v2 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); *(_BYTE *)(a1 + 952) = 1; *(_DWORD *)(GameManager::sharedState(v2) + 708) = 14; GameLevelManager::sharedState(); v3 = sub_1000A6CC4(); *(_BYTE *)(GameLevelManager::sharedState() + 1216) = 1; v4 = *(_QWORD *)(a1 + 912); *(_DWORD *)(v3 + 360) = *(_DWORD *)(v4 + 360); std::string::operator=((std::string *)(v3 + 504), (const std::string *)(v4 + 504)); sub_1000D6540(v3, *(_QWORD *)(a1 + 912)); v5 = *(_QWORD *)(a1 + 912); if ( *(char *)(v5 + 455) < 0 ) sub_1000097D0(&__dst, *(void **)(v5 + 432), *(_QWORD *)(v5 + 440)); else __dst = *(std::string *)(v5 + 432); size = HIBYTE(__dst.__r_.__value_.__r.__words[2]); v7 = HIBYTE(__dst.__r_.__value_.__r.__words[2]); if ( (__dst.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) size = __dst.__r_.__value_.__l.__size_; if ( size <= 0x17 ) { std::string::append(&__dst, " 2"); v7 = HIBYTE(__dst.__r_.__value_.__r.__words[2]); } if ( v7 < 0 ) sub_1000097D0(&__p, __dst.__r_.__value_.__l.__data_, __dst.__r_.__value_.__l.__size_); else __p = __dst; std::string::operator=((std::string *)(v3 + 432), &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); v8 = *(_QWORD *)(a1 + 912); v9 = *(_DWORD *)(v8 + 380); if ( !v9 ) v9 = *(_DWORD *)(v8 + 344); *(_DWORD *)(v3 + 380) = v9; v10 = cocos2d::CCDirector::sharedDirector(); v11 = LevelListLayer::scene(v3); v12 = cocos2d::CCTransitionFade::create_1((__int64)v11, 0.5); cocos2d::CCDirector::replaceScene(v10, v12); if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__dst.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source