{"type": "func", "start": 8311644, "end": 8311716, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x7ed35c to 0x7ed3a4 (72 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x78b50\n// > EditLevelLayer::init @ 0x7f1050\n// > <???> @ 0x1543110\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:33 +0000\n// \n\n__int64 __fastcall EditLevelLayer::onLevelLeaderboard(EditLevelLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x19\n  GameManager *v3; // x0\n  unsigned int IntGameVariable; // w0\n  __int64 v5; // x0\n\n  v2 = *((_QWORD *)this + 59);\n  v3 = (GameManager *)GameManager::sharedState(this);\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0164\");\n  v5 = LevelLeaderboard::create(v2, 3, IntGameVariable);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);\n}", "assembly": "; \n; EditLevelLayer::onLevelLeaderboard from 0x7ed35c to 0x7ed3a4 (72 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x78b50\n; > EditLevelLayer::init @ 0x7f1050\n; > <???> @ 0x1543110\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:33 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7ed35c\nMOV             X29, SP                                                ; +0x4, 0x7ed360\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7ed364\nLDR             X19, [X0,#0x1D8]                                       ; +0xc, 0x7ed368\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x7ed36c\nADRL            X1, a0164; \"0164\"                                      ; +0x14, 0x7ed370\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1c, 0x7ed378\nMOV             W2, W0                                                 ; +0x20, 0x7ed37c\nMOV             W1, #3                                                 ; +0x24, 0x7ed380\nMOV             X0, X19                                                ; +0x28, 0x7ed384\nBL              _ZN16LevelLeaderboard6createEP11GJGameLevel20LevelLeaderboardType20LevelLeaderboardMode; LevelLeaderboard::create(GJGameLevel *,LevelLeaderboardType,LevelLeaderboardMode) ; +0x2c, 0x7ed388\nLDR             X1, [X0]                                               ; +0x30, 0x7ed38c\nLDR             X1, [X1,#0x520]                                        ; +0x34, 0x7ed390\nBLR             X1                                                     ; +0x38, 0x7ed394\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x3c, 0x7ed398\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x40, 0x7ed39c\nRET                                                                    ; +0x44, 0x7ed3a0", "xrefs": ["<???> @ 0x78b50", "EditLevelLayer::init @ 0x7f1050", "<???> @ 0x1543110"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}