{"type": "func", "start": 4298669664, "end": 4298669725, "name": "ChallengesPage::tryGetChallenges", "pseudocode": "// \n// ChallengesPage::tryGetChallenges from 0x100387e60 to 0x100387e9d (61 bytes)\n// \n// 1 xrefs:\n// > ChallengesPage::challengeStatusFailed @ 0x100387dfb\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 12:29:10 +0000\n// \n\nvoid __fastcall ChallengesPage::tryGetChallenges(__int64 a1, double a2)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rax\n\n  if ( *(_BYTE *)(a1 + 712) == 1 )\n  {\n    v2 = *(_QWORD *)(a1 + 704);\n    if ( v2 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);\n  }\n  else\n  {\n    *(_BYTE *)(a1 + 712) = 1;\n    v3 = GameLevelManager::sharedState(a2);\n    GameLevelManager::getGJChallenges(v3);\n  }\n}", "assembly": "; \n; ChallengesPage::tryGetChallenges from 0x100387e60 to 0x100387e9d (61 bytes)\n; \n; 1 xrefs:\n; > ChallengesPage::challengeStatusFailed @ 0x100387dfb\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 12:29:10 +0000\n; \ncmp     byte ptr [rdi+2C8h], 1                                         ; +0x0, 0x100387e60\njnz     short loc_100387E83                                            ; +0x7, 0x100387e67\nmov     rdi, [rdi+2C0h]                                                ; +0x9, 0x100387e69\ntest    rdi, rdi                                                       ; +0x10, 0x100387e70\njz      short locret_100387E9C                                         ; +0x13, 0x100387e73\nmov     rax, [rdi]                                                     ; +0x15, 0x100387e75\nmov     rax, [rax+158h]                                                ; +0x18, 0x100387e78\nxor     esi, esi                                                       ; +0x1f, 0x100387e7f\njmp     rax                                                            ; +0x21, 0x100387e81\npush    rbp                                                            ; +0x23, 0x100387e83\nmov     rbp, rsp                                                       ; +0x24, 0x100387e84\nmov     byte ptr [rdi+2C8h], 1                                         ; +0x27, 0x100387e87\ncall    GameLevelManager__sharedState                                  ; +0x2e, 0x100387e8e\nmov     rdi, rax                                                       ; +0x33, 0x100387e93\npop     rbp                                                            ; +0x36, 0x100387e96\njmp     GameLevelManager__getGJChallenges                              ; +0x37, 0x100387e97\nretn                                                                   ; +0x3c, 0x100387e9c", "xrefs": ["ChallengesPage::challengeStatusFailed @ 0x100387dfb"], "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"}