{"type": "func", "start": 5371816992, "end": 5371817127, "name": "GJRateLevelLayer::rateInfoFinished", "pseudocode": "// \n// GJRateLevelLayer::rateInfoFinished from 0x1402f6c20 to 0x1402f6ca7 (135 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405866e8\n// > <???> @ 0x1406d407c\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\n// Hidden C++ exception states: #wind=1\nvoid __fastcall GJRateLevelLayer::rateInfoFinished(__int64 a1, int a2, __int64 a3)\n{\n  __int64 *v5; // rax\n  _BYTE v6[32]; // [rsp+28h] [rbp-40h] BYREF\n  __int64 v7; // [rsp+48h] [rbp-20h]\n\n  v7 = a3;\n  if ( *(_DWORD *)(*(_QWORD *)(a1 + 16) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 16) + 332LL) == a2 )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 88) + 320LL))(*(_QWORD *)(a1 + 88), 0);\n    v5 = (__int64 *)sub_14003BDB0((__int64)v6, a3);\n    GJRateLevelLayer::setupRateInfo(a1 - 952, v5);\n  }\n  sub_14003A830(a3);\n}", "assembly": "; \n; GJRateLevelLayer::rateInfoFinished from 0x1402f6c20 to 0x1402f6ca7 (135 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405866e8\n; > <???> @ 0x1406d407c\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1402f6c20\npush    rdi                                                            ; +0x5, 0x1402f6c25\nsub     rsp, 60h                                                       ; +0x6, 0x1402f6c26\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1402f6c2a\nxor     rax, rsp                                                       ; +0x11, 0x1402f6c31\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x1402f6c34\nmov     rbx, r8                                                        ; +0x19, 0x1402f6c39\nmov     rdi, rcx                                                       ; +0x1c, 0x1402f6c3c\nmov     [rsp+68h+var_20], rbx                                          ; +0x1f, 0x1402f6c3f\nmov     rax, [rcx+10h]                                                 ; +0x24, 0x1402f6c44\nmov     r8d, [rax+148h]                                                ; +0x28, 0x1402f6c48\nsub     r8d, [rax+14Ch]                                                ; +0x2f, 0x1402f6c4f\ncmp     r8d, edx                                                       ; +0x36, 0x1402f6c56\njnz     short loc_1402F6C87                                            ; +0x39, 0x1402f6c59\nmov     rcx, [rcx+58h]                                                 ; +0x3b, 0x1402f6c5b\nmov     rax, [rcx]                                                     ; +0x3f, 0x1402f6c5f\nxor     edx, edx                                                       ; +0x42, 0x1402f6c62\ncall    qword ptr [rax+140h]                                           ; +0x44, 0x1402f6c64\nmov     rdx, rbx                                                       ; +0x4a, 0x1402f6c6a\nlea     rcx, [rsp+68h+var_40]                                          ; +0x4d, 0x1402f6c6d\ncall    sub_14003BDB0                                                  ; +0x52, 0x1402f6c72\nlea     rcx, [rdi-3B8h]                                                ; +0x57, 0x1402f6c77\nmov     rdx, rax                                                       ; +0x5e, 0x1402f6c7e\ncall    GJRateLevelLayer__setupRateInfo                                ; +0x61, 0x1402f6c81\nnop                                                                    ; +0x66, 0x1402f6c86\nmov     rcx, rbx                                                       ; +0x67, 0x1402f6c87\ncall    sub_14003A830                                                  ; +0x6a, 0x1402f6c8a\nmov     rcx, [rsp+68h+var_18]                                          ; +0x6f, 0x1402f6c8f\nxor     rcx, rsp; StackCookie                                          ; +0x74, 0x1402f6c94\ncall    __security_check_cookie                                        ; +0x77, 0x1402f6c97\nmov     rbx, [rsp+68h+arg_8]                                           ; +0x7c, 0x1402f6c9c\nadd     rsp, 60h                                                       ; +0x81, 0x1402f6ca1\npop     rdi                                                            ; +0x85, 0x1402f6ca5\nretn                                                                   ; +0x86, 0x1402f6ca6", "xrefs": ["<???> @ 0x1405866e8", "<???> @ 0x1406d407c"], "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"}