// // LeaderboardsLayer::create from 0x100512210 to 0x10051230b (251 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // LeaderboardsLayer *__fastcall LeaderboardsLayer::create(LeaderboardType a1, LeaderboardStat a2) { char *v2; // rbx v2 = (char *)operator new(0x200u); cocos2d::CCLayer::CCLayer((__int64)v2); *(_QWORD *)v2 = off_10095E828; *((_QWORD *)v2 + 40) = off_10095ECD0; *((_QWORD *)v2 + 41) = &off_10095ED40; *((_QWORD *)v2 + 42) = off_10095ED58; *((_QWORD *)v2 + 43) = off_10095ED78; *((_QWORD *)v2 + 44) = off_10095ED98; *((_QWORD *)v2 + 51) = off_10095EDC0; *((_QWORD *)v2 + 52) = &off_10095EDF0; *((_QWORD *)v2 + 63) = 0; *(_OWORD *)(v2 + 424) = 0; *(_OWORD *)(v2 + 440) = 0; *(_OWORD *)(v2 + 456) = 0; *(_OWORD *)(v2 + 472) = 0; *((_QWORD *)v2 + 61) = 0; if ( LeaderboardsLayer::init((LeaderboardsLayer *)v2, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (LeaderboardsLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source