{"type": "func", "start": 5371817184, "end": 5371817330, "name": "GJRateLevelLayer::uploadActionFinished", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFinished from 0x1402f6ce0 to 0x1402f6d72 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586c30\n// > <???> @ 0x1406d4088\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJRateLevelLayer::uploadActionFinished(GJRateLevelLayer *a1, int a2, int a3)\n{\n  bool v4; // zf\n  __int128 v5; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-18h]\n  __int64 v7; // [rsp+38h] [rbp-10h]\n\n  if ( a2 == *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 328LL)\n           - *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 332LL) )\n  {\n    v4 = *(_QWORD *)&a1->m_fVertexZ == 0;\n    LOBYTE(a1->m_uIndexInArray) = 1;\n    if ( !v4 )\n    {\n      v5 = 0;\n      *(_QWORD *)&v5 = sub_14003AA10(0x20u);\n      v6 = 17;\n      v7 = 31;\n      strcpy((char *)v5, \"Rating submitted!\");\n      UploadActionPopup::showSuccessMessage(*(_QWORD *)&a1->m_fVertexZ, &v5);\n    }\n  }\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFinished from 0x1402f6ce0 to 0x1402f6d72 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586c30\n; > <???> @ 0x1406d4088\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1402f6ce0\nsub     rsp, 40h                                                       ; +0x2, 0x1402f6ce2\nmov     rax, [rcx+18h]                                                 ; +0x6, 0x1402f6ce6\nmov     rbx, rcx                                                       ; +0xa, 0x1402f6cea\nmov     r8d, [rax+148h]                                                ; +0xd, 0x1402f6ced\nsub     r8d, [rax+14Ch]                                                ; +0x14, 0x1402f6cf4\ncmp     edx, r8d                                                       ; +0x1b, 0x1402f6cfb\njnz     short loc_1402F6D6C                                            ; +0x1e, 0x1402f6cfe\ncmp     qword ptr [rcx+48h], 0                                         ; +0x20, 0x1402f6d00\nmov     byte ptr [rcx+20h], 1                                          ; +0x25, 0x1402f6d05\njz      short loc_1402F6D6C                                            ; +0x29, 0x1402f6d09\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x1402f6d0b\nmov     [rsp+48h+var_18], 0                                            ; +0x2e, 0x1402f6d0e\nmov     ecx, 20h ; ' '                                                 ; +0x37, 0x1402f6d17\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x3c, 0x1402f6d1c\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x45, 0x1402f6d25\ncall    sub_14003AA10                                                  ; +0x4a, 0x1402f6d2a\nmovups  xmm0, cs:xmmword_140586528                                     ; +0x4f, 0x1402f6d2f\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x56, 0x1402f6d36\nlea     rdx, [rsp+48h+var_28]                                          ; +0x5b, 0x1402f6d3b\nmov     [rsp+48h+var_18], 11h                                          ; +0x60, 0x1402f6d40\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x69, 0x1402f6d49\nmovups  xmmword ptr [rax], xmm0                                        ; +0x72, 0x1402f6d52\nmovzx   ecx, cs:byte_140586538                                         ; +0x75, 0x1402f6d55\nmov     [rax+10h], cl                                                  ; +0x7c, 0x1402f6d5c\nmov     byte ptr [rax+11h], 0                                          ; +0x7f, 0x1402f6d5f\nmov     rcx, [rbx+48h]                                                 ; +0x83, 0x1402f6d63\ncall    UploadActionPopup__showSuccessMessage                          ; +0x87, 0x1402f6d67\nadd     rsp, 40h                                                       ; +0x8c, 0x1402f6d6c\npop     rbx                                                            ; +0x90, 0x1402f6d70\nretn                                                                   ; +0x91, 0x1402f6d71", "xrefs": ["<???> @ 0x140586c30", "<???> @ 0x1406d4088"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}