{"type": "func", "start": 4846572, "end": 4846612, "name": "EditLevelLayer::onLevelLeaderboard", "pseudocode": "// \n// EditLevelLayer::onLevelLeaderboard from 0x49f3ec to 0x49f414 (40 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:48 +0000\n// \n\nint __fastcall EditLevelLayer::onLevelLeaderboard(EditLevelLayer *this, cocos2d::CCObject *a2)\n{\n  int v2; // r4\n  GameManager *v3; // r0\n  int IntGameVariable; // r0\n  int v5; // r0\n\n  v2 = *((_DWORD *)this + 87);\n  v3 = (GameManager *)GameManager::sharedState(this);\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0164\");\n  v5 = LevelLeaderboard::create(v2, 3, IntGameVariable);\n  return (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);\n}", "assembly": "; \n; EditLevelLayer::onLevelLeaderboard from 0x49f3ec to 0x49f414 (40 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x49f3ec\nLDR.W           R4, [R0,#0x15C]                                        ; +0x2, 0x49f3ee\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x6, 0x49f3f2\nLDR             R1, =(a0164 - 0x49F3FC); \"0164\"                        ; +0xa, 0x49f3f6\nADD             R1, PC; \"0164\"                                         ; +0xc, 0x49f3f8\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0xe, 0x49f3fa\nMOVS            R1, #3                                                 ; +0x12, 0x49f3fe\nMOV             R2, R0                                                 ; +0x14, 0x49f400\nMOV             R0, R4                                                 ; +0x16, 0x49f402\nBL              _ZN16LevelLeaderboard6createEP11GJGameLevel20LevelLeaderboardType20LevelLeaderboardMode; LevelLeaderboard::create(GJGameLevel *,LevelLeaderboardType,LevelLeaderboardMode) ; +0x18, 0x49f404\nPOP.W           {R4,LR}                                                ; +0x1c, 0x49f408\nLDR             R3, [R0]                                               ; +0x20, 0x49f40c\nLDR.W           R3, [R3,#0x290]                                        ; +0x22, 0x49f40e\nBX              R3                                                     ; +0x26, 0x49f412", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}