// // LevelLeaderboard::onChangeMode from 0x14042a290 to 0x14042a3f1 (353 bytes) // // 3 xrefs: // > LevelLeaderboard::init @ 0x140428954 // > LevelLeaderboard::init @ 0x140428a2a // > @ 0x140926a8c // // 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 11:32:12 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall LevelLeaderboard::onChangeMode(__int64 a1, __int64 a2) { unsigned int v3; // esi __int64 v4; // rbx __int64 v5; // rbx struct cocos2d::CCString *v6; // rax void *v7; // rcx void *v9; // [rsp+30h] [rbp-38h] void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v11; // [rsp+48h] [rbp-20h] unsigned __int64 v12; // [rsp+50h] [rbp-18h] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v9 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } *(_OWORD *)Block = 0; v11 = 3; v12 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0164", 4u); v5 = *(_QWORD *)(v4 + 432); v6 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v3); cocos2d::CCDictionary::setObject(v5, v6, Block); if ( v12 > 0xF ) { v7 = Block[0]; if ( v12 + 1 >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } return LevelLeaderboard::reloadLeaderboard((__int64 *)a1, *(_DWORD *)(a1 + 688), v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source