{"type": "func", "start": 5373073520, "end": 5373073829, "name": "LevelLeaderboard::onDeleteLocalScores", "pseudocode": "// \n// LevelLeaderboard::onDeleteLocalScores from 0x140429870 to 0x1404299a5 (309 bytes)\n// \n// 2 xrefs:\n// > LevelLeaderboard::init @ 0x140428be6\n// > <???> @ 0x140926a44\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:32:12 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall LevelLeaderboard::onDeleteLocalScores(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v1 = a1 + 672;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x30u);\n  v6 = 47;\n  v7 = 47;\n  strcpy((char *)v5, \"Do you want to <cr>delete</c> the local scores?\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)\"Reset Scores\",\n         v2,\n         (__int64)\"Cancel\",\n         (__int64)\"Delete\",\n         1136525312,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 991);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; LevelLeaderboard::onDeleteLocalScores from 0x140429870 to 0x1404299a5 (309 bytes)\n; \n; 2 xrefs:\n; > LevelLeaderboard::init @ 0x140428be6\n; > <???> @ 0x140926a44\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:32:12 +0000\n; \npush    rbx                                                            ; +0x0, 0x140429870\nsub     rsp, 90h                                                       ; +0x2, 0x140429872\nlea     rbx, [rcx+2A0h]                                                ; +0x9, 0x140429879\nxor     eax, eax                                                       ; +0x10, 0x140429880\ntest    rcx, rcx                                                       ; +0x12, 0x140429882\ncmovz   rbx, rax                                                       ; +0x15, 0x140429885\nxorps   xmm0, xmm0                                                     ; +0x19, 0x140429889\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x14042988c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x140429891\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x140429896\nmov     ecx, 30h ; '0'                                                 ; +0x2b, 0x14042989b\ncall    sub_14003D460                                                  ; +0x30, 0x1404298a0\nmov     rcx, rax                                                       ; +0x35, 0x1404298a5\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x38, 0x1404298a8\nmov     [rsp+98h+var_38], 2Fh ; '/'                                    ; +0x3d, 0x1404298ad\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x46, 0x1404298b6\nmovups  xmm0, cs:xmmword_14078DB68                                     ; +0x4f, 0x1404298bf\nmovups  xmmword ptr [rax], xmm0                                        ; +0x56, 0x1404298c6\nmovups  xmm1, cs:xmmword_14078DB78                                     ; +0x59, 0x1404298c9\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x60, 0x1404298d0\nmovsd   xmm0, cs:qword_14078DB88                                       ; +0x64, 0x1404298d4\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x6c, 0x1404298dc\nmov     eax, cs:dword_14078DB90                                        ; +0x71, 0x1404298e1\nmov     [rcx+28h], eax                                                 ; +0x77, 0x1404298e7\nmovzx   eax, cs:word_14078DB94                                         ; +0x7a, 0x1404298ea\nmov     [rcx+2Ch], ax                                                  ; +0x81, 0x1404298f1\nmovzx   eax, cs:byte_14078DB96                                         ; +0x85, 0x1404298f5\nmov     [rcx+2Eh], al                                                  ; +0x8c, 0x1404298fc\nmov     byte ptr [rcx+2Fh], 0                                          ; +0x8f, 0x1404298ff\nlea     rax, [rsp+98h+var_48]                                          ; +0x93, 0x140429903\nmov     [rsp+98h+arg_0], rax                                           ; +0x98, 0x140429908\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa0, 0x140429910\nlea     rcx, [rsp+98h+var_28]                                          ; +0xa5, 0x140429915\ncall    sub_14003F4F0                                                  ; +0xaa, 0x14042991a\nmovss   xmm0, cs:flt_140835080                                         ; +0xaf, 0x14042991f\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xb7, 0x140429927\nxorps   xmm1, xmm1                                                     ; +0xbd, 0x14042992d\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc0, 0x140429930\nmov     [rsp+98h+var_68], 0                                            ; +0xc6, 0x140429936\nmovss   xmm0, cs:dword_140835A04                                       ; +0xcb, 0x14042993b\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xd3, 0x140429943\nlea     rcx, aDelete_0; \"Delete\"                                       ; +0xd9, 0x140429949\nmov     [rsp+98h+var_78], rcx                                          ; +0xe0, 0x140429950\nlea     r9, aCancel; \"Cancel\"                                          ; +0xe5, 0x140429955\nmov     r8, rax                                                        ; +0xec, 0x14042995c\nlea     rdx, aResetScores; \"Reset Scores\"                              ; +0xef, 0x14042995f\nmov     rcx, rbx                                                       ; +0xf6, 0x140429966\ncall    FLAlertLayer__create                                           ; +0xf9, 0x140429969\nmov     rbx, rax                                                       ; +0xfe, 0x14042996e\nlea     rcx, [rsp+98h+var_48]                                          ; +0x101, 0x140429971\ncall    sub_14003D310                                                  ; +0x106, 0x140429976\nmov     rcx, [rbx]                                                     ; +0x10b, 0x14042997b\nmov     r8, [rcx+40h]                                                  ; +0x10e, 0x14042997e\nmov     edx, 3DFh                                                      ; +0x112, 0x140429982\nmov     rcx, rbx                                                       ; +0x117, 0x140429987\ncall    r8                                                             ; +0x11a, 0x14042998a\nmov     rcx, [rbx]                                                     ; +0x11d, 0x14042998d\nmov     rdx, [rcx+428h]                                                ; +0x120, 0x140429990\nmov     rcx, rbx                                                       ; +0x127, 0x140429997\ncall    rdx                                                            ; +0x12a, 0x14042999a\nadd     rsp, 90h                                                       ; +0x12c, 0x14042999c\npop     rbx                                                            ; +0x133, 0x1404299a3\nretn                                                                   ; +0x134, 0x1404299a4", "xrefs": ["LevelLeaderboard::init @ 0x140428be6", "<???> @ 0x140926a44"], "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"}