{"type": "func", "start": 4297603904, "end": 4297604076, "name": "CreatorLayer::checkQuestsStatus", "pseudocode": "// \n// CreatorLayer::checkQuestsStatus from 0x100283b40 to 0x100283bec (172 bytes)\n// \n// 0 xrefs:\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:27:44 +0000\n// \n\n__int64 __fastcall CreatorLayer::checkQuestsStatus(__int64 a1, double a2)\n{\n  __int64 v2; // rbx\n  __int64 result; // rax\n  char v4; // r14\n  char *v5; // r14\n  float v6; // [rsp+0h] [rbp-20h] BYREF\n  _BYTE v7[4]; // [rsp+8h] [rbp-18h] BYREF\n  float v8; // [rsp+Ch] [rbp-14h]\n\n  v2 = *(_QWORD *)(a1 + 440);\n  result = ChallengesPage::canCollectQuests();\n  if ( v2 )\n  {\n    v4 = result;\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 576LL))(v2);\n    if ( v4 )\n    {\n      v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)\"exMark_001.png\", a2);\n      (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v2 + 464LL))(v2, v5, 10);\n      (*(void (__fastcall **)(char *, float))(*(_QWORD *)v5 + 160LL))(v5, 0.80000001);\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 336LL))(v7, v2);\n      sub_100278250(&v6, 20.0, v8);\n      return (*(__int64 (__fastcall **)(char *, float *))(*(_QWORD *)v5 + 184LL))(v5, &v6);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreatorLayer::checkQuestsStatus from 0x100283b40 to 0x100283bec (172 bytes)\n; \n; 0 xrefs:\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:27:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x100283b40\nmov     rbp, rsp                                                       ; +0x1, 0x100283b41\npush    r14                                                            ; +0x4, 0x100283b44\npush    rbx                                                            ; +0x6, 0x100283b46\nsub     rsp, 10h                                                       ; +0x7, 0x100283b47\nmov     rbx, [rdi+1B8h]                                                ; +0xb, 0x100283b4b\ncall    ChallengesPage__canCollectQuests                               ; +0x12, 0x100283b52\ntest    rbx, rbx                                                       ; +0x17, 0x100283b57\njz      loc_100283BE3                                                  ; +0x1a, 0x100283b5a\nmov     r14d, eax                                                      ; +0x20, 0x100283b60\nmov     rax, [rbx]                                                     ; +0x23, 0x100283b63\nmov     rdi, rbx                                                       ; +0x26, 0x100283b66\ncall    qword ptr [rax+240h]                                           ; +0x29, 0x100283b69\ntest    r14b, r14b                                                     ; +0x2f, 0x100283b6f\njz      short loc_100283BE3                                            ; +0x32, 0x100283b72\nlea     rdi, aExmark001Png; \"exMark_001.png\"                           ; +0x34, 0x100283b74\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x3b, 0x100283b7b\nmov     r14, rax                                                       ; +0x40, 0x100283b80\nmov     rax, [rbx]                                                     ; +0x43, 0x100283b83\nmov     rdi, rbx                                                       ; +0x46, 0x100283b86\nmov     rsi, r14                                                       ; +0x49, 0x100283b89\nmov     edx, 0Ah                                                       ; +0x4c, 0x100283b8c\ncall    qword ptr [rax+1D0h]                                           ; +0x51, 0x100283b91\nmov     rax, [r14]                                                     ; +0x57, 0x100283b97\nmovss   xmm0, cs:dword_100A03588                                       ; +0x5a, 0x100283b9a\nmov     rdi, r14                                                       ; +0x62, 0x100283ba2\ncall    qword ptr [rax+0A0h]                                           ; +0x65, 0x100283ba5\nmov     rax, [rbx]                                                     ; +0x6b, 0x100283bab\nlea     rdi, [rbp+var_18]                                              ; +0x6e, 0x100283bae\nmov     rsi, rbx                                                       ; +0x72, 0x100283bb2\ncall    qword ptr [rax+150h]                                           ; +0x75, 0x100283bb5\nmovss   xmm1, [rbp+var_14]                                             ; +0x7b, 0x100283bbb\nlea     rbx, [rbp+var_20]                                              ; +0x80, 0x100283bc0\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x84, 0x100283bc4\nmov     rdi, rbx                                                       ; +0x8c, 0x100283bcc\ncall    sub_100278250                                                  ; +0x8f, 0x100283bcf\nmov     rax, [r14]                                                     ; +0x94, 0x100283bd4\nmov     rdi, r14                                                       ; +0x97, 0x100283bd7\nmov     rsi, rbx                                                       ; +0x9a, 0x100283bda\ncall    qword ptr [rax+0B8h]                                           ; +0x9d, 0x100283bdd\nadd     rsp, 10h                                                       ; +0xa3, 0x100283be3\npop     rbx                                                            ; +0xa7, 0x100283be7\npop     r14                                                            ; +0xa8, 0x100283be8\npop     rbp                                                            ; +0xaa, 0x100283bea\nretn                                                                   ; +0xab, 0x100283beb", "xrefs": [], "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"}