{"type": "func", "start": 3890948, "end": 3890988, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x3b5f04 to 0x3b5f2c (40 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditLevelLayer::onLevelLeaderboard(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  GJGameLevel *m_level; // r4\n  GameManager *v3; // r0\n  LevelLeaderboardMode IntGameVariable; // r0\n  LevelLeaderboard *v5; // r0\n\n  m_level = a1->m_level;\n  v3 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0164\");\n  v5 = LevelLeaderboard::create(m_level, Local, IntGameVariable);\n  v5->show(v5);\n}", "assembly": "; \n; EditLevelLayer::onLevelLeaderboard from 0x3b5f04 to 0x3b5f2c (40 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4,LR}                                                ; +0x0, 0x3b5f04\nLDR.W           R4, [R0,#0x154]                                        ; +0x2, 0x3b5f06\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6, 0x3b5f0a\nLDR             R1, =(a0164 - 0x3B5F14); \"0164\"                        ; +0xa, 0x3b5f0e\nADD             R1, PC; \"0164\"                                         ; +0xc, 0x3b5f10\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0xe, 0x3b5f12\nMOVS            R1, #3                                                 ; +0x12, 0x3b5f16\nMOV             R2, R0                                                 ; +0x14, 0x3b5f18\nMOV             R0, R4                                                 ; +0x16, 0x3b5f1a\nBL              _ZN16LevelLeaderboard6createEP11GJGameLevel20LevelLeaderboardType20LevelLeaderboardMode; LevelLeaderboard::create(GJGameLevel *,LevelLeaderboardType,LevelLeaderboardMode) ; +0x18, 0x3b5f1c\nPOP.W           {R4,LR}                                                ; +0x1c, 0x3b5f20\nLDR             R3, [R0]                                               ; +0x20, 0x3b5f24\nLDR.W           R3, [R3,#0x284]                                        ; +0x22, 0x3b5f26\nBX              R3                                                     ; +0x26, 0x3b5f2a", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}