// // LevelInfoLayer::onLevelLeaderboard from 0x14041eb50 to 0x14041edba (618 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x14041d1d8 // > @ 0x140926774 // // 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:08 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall LevelInfoLayer::onLevelLeaderboard(__int64 a1) { __int64 v2; // rbx cocos2d::CCString *v3; // rax unsigned int v4; // r14d void *v5; // r8 __int64 v6; // rdi cocos2d::CCString *v7; // rax unsigned int v8; // edi void *v9; // r8 __int64 v10; // rax void *v11; // [rsp+30h] [rbp-50h] void *v12; // [rsp+30h] [rbp-50h] void *Block[2]; // [rsp+38h] [rbp-48h] BYREF __int64 v14; // [rsp+48h] [rbp-38h] unsigned __int64 v15; // [rsp+50h] [rbp-30h] void *Src[2]; // [rsp+58h] [rbp-28h] BYREF __int64 v17; // [rsp+68h] [rbp-18h] unsigned __int64 v18; // [rsp+70h] [rbp-10h] if ( !*(_BYTE *)(a1 + 488) ) { v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v11 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } *(_OWORD *)Block = 0; v14 = 3; v15 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0164", 4u); v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v2 + 432), Block); v4 = cocos2d::CCString::intValue(v3); if ( v15 > 0xF ) { v5 = Block[0]; if ( v15 + 1 >= 0x1000 ) { v5 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v5); } v14 = 0; v15 = 15; LOBYTE(Block[0]) = 0; v6 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v12 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v6 = qword_14090BFD0; } *(_OWORD *)Src = 0; v17 = 3; v18 = 15; LODWORD(Src[0]) = 6256231; sub_140044D80(Src, "0098", 4u); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v6 + 432), Src); v8 = cocos2d::CCString::intValue(v7); if ( v18 > 0xF ) { v9 = Src[0]; if ( v18 + 1 >= 0x1000 ) { v9 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } v10 = LevelLeaderboard::create(*(_QWORD *)(a1 + 504), v8, v4); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 1064LL))(v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source