{"type": "func", "start": 5372696464, "end": 5372696538, "name": "RewardsPage::tryGetRewards", "pseudocode": "// \n// RewardsPage::tryGetRewards from 0x1403cd790 to 0x1403cd7da (74 bytes)\n// \n// 2 xrefs:\n// > RewardsPage::rewardsStatusFailed @ 0x1403cd73f\n// > <???> @ 0x1406d7bd4\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 RewardsPage::tryGetRewards(RewardsPage *a1)\n{\n  GameLevelManager *v1; // rcx\n  void *v2; // [rsp+38h] [rbp+10h]\n\n  v1 = (GameLevelManager *)qword_1406C2EC0;\n  if ( !qword_1406C2EC0 )\n  {\n    v2 = operator new(0x3D0u);\n    qword_1406C2EC0 = sub_140141280((__int64)v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n    v1 = (GameLevelManager *)qword_1406C2EC0;\n  }\n  GameLevelManager::getGJRewards(v1, 0);\n}", "assembly": "; \n; RewardsPage::tryGetRewards from 0x1403cd790 to 0x1403cd7da (74 bytes)\n; \n; 2 xrefs:\n; > RewardsPage::rewardsStatusFailed @ 0x1403cd73f\n; > <???> @ 0x1406d7bd4\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\nsub     rsp, 28h                                                       ; +0x0, 0x1403cd790\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x4, 0x1403cd794\ntest    rcx, rcx                                                       ; +0xb, 0x1403cd79b\njnz     short loc_1403CD7CF                                            ; +0xe, 0x1403cd79e\nmov     ecx, 3D0h; Size                                                ; +0x10, 0x1403cd7a0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x1403cd7a5\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1403cd7aa\nmov     rcx, rax                                                       ; +0x1f, 0x1403cd7af\ncall    sub_140141280                                                  ; +0x22, 0x1403cd7b2\nnop                                                                    ; +0x27, 0x1403cd7b7\nmov     cs:qword_1406C2EC0, rax                                        ; +0x28, 0x1403cd7b8\nmov     rdx, [rax]                                                     ; +0x2f, 0x1403cd7bf\nmov     rcx, rax                                                       ; +0x32, 0x1403cd7c2\ncall    qword ptr [rdx+48h]                                            ; +0x35, 0x1403cd7c5\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x38, 0x1403cd7c8\nxor     edx, edx                                                       ; +0x3f, 0x1403cd7cf\nadd     rsp, 28h                                                       ; +0x41, 0x1403cd7d1\njmp     GameLevelManager__getGJRewards                                 ; +0x45, 0x1403cd7d5", "xrefs": ["RewardsPage::rewardsStatusFailed @ 0x1403cd73f", "<???> @ 0x1406d7bd4"], "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"}