{"type": "func", "start": 5372756928, "end": 5372756955, "name": "LeaderboardsLayer::onTop", "pseudocode": "// \n// LeaderboardsLayer::onTop from 0x1403dc3c0 to 0x1403dc3db (27 bytes)\n// \n// 1 xrefs:\n// > LeaderboardsLayer::setupTabs @ 0x1403db8d7\n// \n// This function is hookable on this platform (idp: pc, 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 11:31:39 +0000\n// \n\n__int64 __fastcall LeaderboardsLayer::onTop(__int64 a1)\n{\n  __int64 result; // rax\n\n  if ( *(_DWORD *)(a1 + 440) != 1 )\n    return LeaderboardsLayer::selectLeaderboard(a1, 1, *(unsigned int *)(a1 + 444));\n  return result;\n}", "assembly": "; \n; LeaderboardsLayer::onTop from 0x1403dc3c0 to 0x1403dc3db (27 bytes)\n; \n; 1 xrefs:\n; > LeaderboardsLayer::setupTabs @ 0x1403db8d7\n; \n; This function is hookable on this platform (idp: pc, 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 11:31:39 +0000\n; \ncmp     dword ptr [rcx+1B8h], 1                                        ; +0x0, 0x1403dc3c0\njz      short locret_1403DC3DA                                         ; +0x7, 0x1403dc3c7\nmov     r8d, [rcx+1BCh]                                                ; +0x9, 0x1403dc3c9\nmov     edx, 1                                                         ; +0x10, 0x1403dc3d0\njmp     LeaderboardsLayer__selectLeaderboard                           ; +0x15, 0x1403dc3d5\nretn                                                                   ; +0x1a, 0x1403dc3da", "xrefs": ["LeaderboardsLayer::setupTabs @ 0x1403db8d7"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}