{"type": "func", "start": 5373016128, "end": 5373016268, "name": "GJRateLevelLayer::uploadActionFinished", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFinished from 0x14041b840 to 0x14041b8cc (140 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078bb50\n// > <???> @ 0x1409266c0\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:06 +0000\n// \n\nvoid __fastcall GJRateLevelLayer::uploadActionFinished(__int64 a1, int a2)\n{\n  bool v3; // zf\n  __int128 v4; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  if ( a2 == *(_DWORD *)(*(_QWORD *)(a1 + 24) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 24) + 332LL) )\n  {\n    v3 = *(_QWORD *)(a1 + 72) == 0;\n    *(_BYTE *)(a1 + 32) = 1;\n    if ( !v3 )\n    {\n      v4 = 0;\n      *(_QWORD *)&v4 = sub_14003D460(0x20u);\n      v5 = 17;\n      v6 = 31;\n      strcpy((char *)v4, \"Rating submitted!\");\n      UploadActionPopup::showSuccessMessage(*(_QWORD *)(a1 + 72), &v4);\n    }\n  }\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFinished from 0x14041b840 to 0x14041b8cc (140 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078bb50\n; > <???> @ 0x1409266c0\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:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041b840\nsub     rsp, 40h                                                       ; +0x2, 0x14041b842\nmov     rax, [rcx+18h]                                                 ; +0x6, 0x14041b846\nmov     rbx, rcx                                                       ; +0xa, 0x14041b84a\nmov     r8d, [rax+148h]                                                ; +0xd, 0x14041b84d\nsub     r8d, [rax+14Ch]                                                ; +0x14, 0x14041b854\ncmp     edx, r8d                                                       ; +0x1b, 0x14041b85b\njnz     short loc_14041B8C6                                            ; +0x1e, 0x14041b85e\ncmp     qword ptr [rcx+48h], 0                                         ; +0x20, 0x14041b860\nmov     byte ptr [rcx+20h], 1                                          ; +0x25, 0x14041b865\njz      short loc_14041B8C6                                            ; +0x29, 0x14041b869\nxor     eax, eax                                                       ; +0x2b, 0x14041b86b\nxorps   xmm0, xmm0                                                     ; +0x2d, 0x14041b86d\nmov     ecx, 20h ; ' '                                                 ; +0x30, 0x14041b870\nmov     [rsp+48h+var_18], rax                                          ; +0x35, 0x14041b875\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x3a, 0x14041b87a\nmov     [rsp+48h+var_10], rax                                          ; +0x3f, 0x14041b87f\ncall    sub_14003D460                                                  ; +0x44, 0x14041b884\nmovups  xmm0, cs:xmmword_14078B3C8                                     ; +0x49, 0x14041b889\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x50, 0x14041b890\nlea     rdx, [rsp+48h+var_28]                                          ; +0x55, 0x14041b895\nmov     [rsp+48h+var_18], 11h                                          ; +0x5a, 0x14041b89a\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x63, 0x14041b8a3\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6c, 0x14041b8ac\nmovzx   ecx, cs:byte_14078B3D8                                         ; +0x6f, 0x14041b8af\nmov     [rax+10h], cl                                                  ; +0x76, 0x14041b8b6\nmov     byte ptr [rax+11h], 0                                          ; +0x79, 0x14041b8b9\nmov     rcx, [rbx+48h]                                                 ; +0x7d, 0x14041b8bd\ncall    UploadActionPopup__showSuccessMessage                          ; +0x81, 0x14041b8c1\nadd     rsp, 40h                                                       ; +0x86, 0x14041b8c6\npop     rbx                                                            ; +0x8a, 0x14041b8ca\nretn                                                                   ; +0x8b, 0x14041b8cb", "xrefs": ["<???> @ 0x14078bb50", "<???> @ 0x1409266c0"], "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"}