{"type": "func", "start": 4298039476, "end": 4298039632, "name": "LevelLeaderboard::loadLeaderboardFinished", "pseudocode": "// \n// LevelLeaderboard::loadLeaderboardFinished from 0x1002ee0b4 to 0x1002ee150 (156 bytes)\n// \n// 2 xrefs:\n// > sub_1002EE150 @ 0x1002ee154\n// > <???> @ 0x1009279d0\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 11:02:54 +0000\n// \n\n__int64 __fastcall LevelLeaderboard::loadLeaderboardFinished(__int64 a1, __int64 a2, char *a3)\n{\n  __int64 result; // x0\n  _DWORD *v6; // x0\n\n  result = sub_1002EDFAC(a1, a3);\n  if ( (_DWORD)result )\n  {\n    v6 = *(_DWORD **)(a1 + 696);\n    if ( v6 )\n      cocos2d::CCObject::release(v6);\n    *(_QWORD *)(a1 + 696) = a2;\n    cocos2d::CCObject::retain(a2);\n    sub_1002ED8E8(a1, *(_QWORD *)(a1 + 696));\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 712) + 344LL))(*(_QWORD *)(a1 + 712), 0);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 344LL))(*(_QWORD *)(a1 + 720), 0);\n    return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 728) + 344LL))(\n             *(_QWORD *)(a1 + 728),\n             *(_DWORD *)(a1 + 688) != 3);\n  }\n  return result;\n}", "assembly": "; \n; LevelLeaderboard::loadLeaderboardFinished from 0x1002ee0b4 to 0x1002ee150 (156 bytes)\n; \n; 2 xrefs:\n; > sub_1002EE150 @ 0x1002ee154\n; > <???> @ 0x1009279d0\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 11:02:54 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002ee0b4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002ee0b8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002ee0bc\nMOV             X20, X1                                                ; +0xc, 0x1002ee0c0\nMOV             X19, X0                                                ; +0x10, 0x1002ee0c4\nMOV             X1, X2                                                 ; +0x14, 0x1002ee0c8\nBL              sub_1002EDFAC                                          ; +0x18, 0x1002ee0cc\nCBZ             W0, loc_1002EE144                                      ; +0x1c, 0x1002ee0d0\nLDR             X0, [X19,#0x2B8]                                       ; +0x20, 0x1002ee0d4\nCBZ             X0, loc_1002EE0E0                                      ; +0x24, 0x1002ee0d8\nBL              cocos2d__CCObject__release                             ; +0x28, 0x1002ee0dc\nSTR             X20, [X19,#0x2B8]                                      ; +0x2c, 0x1002ee0e0\nMOV             X0, X20                                                ; +0x30, 0x1002ee0e4\nBL              cocos2d__CCObject__retain                              ; +0x34, 0x1002ee0e8\nLDR             X1, [X19,#0x2B8]                                       ; +0x38, 0x1002ee0ec\nMOV             X0, X19                                                ; +0x3c, 0x1002ee0f0\nBL              sub_1002ED8E8                                          ; +0x40, 0x1002ee0f4\nLDR             X0, [X19,#0x2C8]                                       ; +0x44, 0x1002ee0f8\nLDR             X8, [X0]                                               ; +0x48, 0x1002ee0fc\nLDR             X8, [X8,#0x158]                                        ; +0x4c, 0x1002ee100\nMOV             W1, #0                                                 ; +0x50, 0x1002ee104\nBLR             X8                                                     ; +0x54, 0x1002ee108\nLDR             X0, [X19,#0x2D0]                                       ; +0x58, 0x1002ee10c\nLDR             X8, [X0]                                               ; +0x5c, 0x1002ee110\nLDR             X8, [X8,#0x158]                                        ; +0x60, 0x1002ee114\nMOV             W1, #0                                                 ; +0x64, 0x1002ee118\nBLR             X8                                                     ; +0x68, 0x1002ee11c\nLDR             X0, [X19,#0x2D8]                                       ; +0x6c, 0x1002ee120\nLDR             W8, [X19,#0x2B0]                                       ; +0x70, 0x1002ee124\nCMP             W8, #3                                                 ; +0x74, 0x1002ee128\nCSET            W1, NE                                                 ; +0x78, 0x1002ee12c\nLDR             X8, [X0]                                               ; +0x7c, 0x1002ee130\nLDR             X2, [X8,#0x158]                                        ; +0x80, 0x1002ee134\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x1002ee138\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x88, 0x1002ee13c\nBR              X2                                                     ; +0x8c, 0x1002ee140\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x90, 0x1002ee144\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x94, 0x1002ee148\nRET                                                                    ; +0x98, 0x1002ee14c", "xrefs": ["sub_1002EE150 @ 0x1002ee154", "<???> @ 0x1009279d0"], "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"}