{"type": "func", "start": 4297604080, "end": 4297604759, "name": "CreatorLayer::checkTimedStatus", "pseudocode": "// \n// CreatorLayer::checkTimedStatus from 0x100283bf0 to 0x100283e97 (679 bytes)\n// \n// 4 xrefs:\n// > CreatorLayer::init @ 0x1002828d9\n// > CreatorLayer::contentStatusFinished @ 0x100284795\n// > sub_1002847A0 @ 0x1002847ac\n// > CreatorLayer::sceneWillResume @ 0x10028498b\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::checkTimedStatus(_QWORD *a1, double a2)\n{\n  __int64 v2; // r14\n  __int64 v3; // rax\n  char v4; // al\n  char v5; // r15\n  char *v6; // r15\n  __int64 v7; // r14\n  __int64 v8; // rax\n  char v9; // al\n  char v10; // r15\n  char *v11; // r15\n  __int64 v12; // r14\n  __int64 v13; // rax\n  char v14; // al\n  char v15; // r15\n  char *v16; // r15\n  __int64 v17; // rbx\n  __int64 v18; // rax\n  __int64 result; // rax\n  char v20; // r14\n  char *v21; // r14\n  float v22; // [rsp+8h] [rbp-28h] BYREF\n  _BYTE v23[4]; // [rsp+10h] [rbp-20h] BYREF\n  float v24; // [rsp+14h] [rbp-1Ch]\n\n  v2 = a1[56];\n  v3 = GameLevelManager::sharedState(a2);\n  v4 = sub_10055DE30(v3, 0);\n  if ( v2 )\n  {\n    v5 = v4;\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 576LL))(v2);\n    if ( v5 )\n    {\n      v6 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)\"exMark_001.png\", a2);\n      (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v2 + 464LL))(v2, v6, 10);\n      (*(void (__fastcall **)(char *, float))(*(_QWORD *)v6 + 160LL))(v6, 0.80000001);\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 336LL))(v23, v2);\n      sub_100278250(&v22, 20.0, v24);\n      a2 = (*(double (__fastcall **)(char *, float *))(*(_QWORD *)v6 + 184LL))(v6, &v22);\n    }\n  }\n  v7 = a1[57];\n  v8 = GameLevelManager::sharedState(a2);\n  v9 = sub_10055DE30(v8, 1);\n  if ( v7 )\n  {\n    v10 = v9;\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 576LL))(v7);\n    if ( v10 )\n    {\n      v11 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)\"exMark_001.png\", a2);\n      (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v7 + 464LL))(v7, v11, 10);\n      (*(void (__fastcall **)(char *, float))(*(_QWORD *)v11 + 160LL))(v11, 0.80000001);\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v7 + 336LL))(v23, v7);\n      sub_100278250(&v22, 20.0, v24);\n      a2 = (*(double (__fastcall **)(char *, float *))(*(_QWORD *)v11 + 184LL))(v11, &v22);\n    }\n  }\n  v12 = a1[58];\n  v13 = GameLevelManager::sharedState(a2);\n  v14 = sub_10055DE30(v13, 2);\n  if ( v12 )\n  {\n    v15 = v14;\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 576LL))(v12);\n    if ( v15 )\n    {\n      v16 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)\"exMark_001.png\", a2);\n      (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v12 + 464LL))(v12, v16, 10);\n      (*(void (__fastcall **)(char *, float))(*(_QWORD *)v16 + 160LL))(v16, 0.80000001);\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v12 + 336LL))(v23, v12);\n      sub_100278250(&v22, 20.0, v24);\n      a2 = (*(double (__fastcall **)(char *, float *))(*(_QWORD *)v16 + 184LL))(v16, &v22);\n    }\n  }\n  v17 = a1[59];\n  v18 = GameLevelManager::sharedState(a2);\n  result = GameLevelManager::hasNewGauntlets(v18);\n  if ( v17 )\n  {\n    v20 = result;\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 576LL))(v17);\n    if ( v20 )\n    {\n      v21 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)\"exMark_001.png\", a2);\n      (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v17 + 464LL))(v17, v21, 10);\n      (*(void (__fastcall **)(char *, float))(*(_QWORD *)v21 + 160LL))(v21, 0.80000001);\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v17 + 336LL))(v23, v17);\n      sub_100278250(&v22, 20.0, v24);\n      return (*(__int64 (__fastcall **)(char *, float *))(*(_QWORD *)v21 + 184LL))(v21, &v22);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreatorLayer::checkTimedStatus from 0x100283bf0 to 0x100283e97 (679 bytes)\n; \n; 4 xrefs:\n; > CreatorLayer::init @ 0x1002828d9\n; > CreatorLayer::contentStatusFinished @ 0x100284795\n; > sub_1002847A0 @ 0x1002847ac\n; > CreatorLayer::sceneWillResume @ 0x10028498b\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, 0x100283bf0\nmov     rbp, rsp                                                       ; +0x1, 0x100283bf1\npush    r15                                                            ; +0x4, 0x100283bf4\npush    r14                                                            ; +0x6, 0x100283bf6\npush    rbx                                                            ; +0x8, 0x100283bf8\nsub     rsp, 18h                                                       ; +0x9, 0x100283bf9\nmov     rbx, rdi                                                       ; +0xd, 0x100283bfd\nmov     r14, [rdi+1C0h]                                                ; +0x10, 0x100283c00\ncall    GameLevelManager__sharedState                                  ; +0x17, 0x100283c07\nmov     rdi, rax                                                       ; +0x1c, 0x100283c0c\nxor     esi, esi                                                       ; +0x1f, 0x100283c0f\ncall    sub_10055DE30                                                  ; +0x21, 0x100283c11\ntest    r14, r14                                                       ; +0x26, 0x100283c16\njz      loc_100283CA2                                                  ; +0x29, 0x100283c19\nmov     r15d, eax                                                      ; +0x2f, 0x100283c1f\nmov     rax, [r14]                                                     ; +0x32, 0x100283c22\nmov     rdi, r14                                                       ; +0x35, 0x100283c25\ncall    qword ptr [rax+240h]                                           ; +0x38, 0x100283c28\ntest    r15b, r15b                                                     ; +0x3e, 0x100283c2e\njz      short loc_100283CA2                                            ; +0x41, 0x100283c31\nlea     rdi, aExmark001Png; \"exMark_001.png\"                           ; +0x43, 0x100283c33\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x4a, 0x100283c3a\nmov     r15, rax                                                       ; +0x4f, 0x100283c3f\nmov     rax, [r14]                                                     ; +0x52, 0x100283c42\nmov     rdi, r14                                                       ; +0x55, 0x100283c45\nmov     rsi, r15                                                       ; +0x58, 0x100283c48\nmov     edx, 0Ah                                                       ; +0x5b, 0x100283c4b\ncall    qword ptr [rax+1D0h]                                           ; +0x60, 0x100283c50\nmov     rax, [r15]                                                     ; +0x66, 0x100283c56\nmovss   xmm0, cs:dword_100A03588                                       ; +0x69, 0x100283c59\nmov     rdi, r15                                                       ; +0x71, 0x100283c61\ncall    qword ptr [rax+0A0h]                                           ; +0x74, 0x100283c64\nmov     rax, [r14]                                                     ; +0x7a, 0x100283c6a\nlea     rdi, [rbp+var_20]                                              ; +0x7d, 0x100283c6d\nmov     rsi, r14                                                       ; +0x81, 0x100283c71\ncall    qword ptr [rax+150h]                                           ; +0x84, 0x100283c74\nmovss   xmm1, [rbp+var_1C]                                             ; +0x8a, 0x100283c7a\nlea     r14, [rbp+var_28]                                              ; +0x8f, 0x100283c7f\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x93, 0x100283c83\nmov     rdi, r14                                                       ; +0x9b, 0x100283c8b\ncall    sub_100278250                                                  ; +0x9e, 0x100283c8e\nmov     rax, [r15]                                                     ; +0xa3, 0x100283c93\nmov     rdi, r15                                                       ; +0xa6, 0x100283c96\nmov     rsi, r14                                                       ; +0xa9, 0x100283c99\ncall    qword ptr [rax+0B8h]                                           ; +0xac, 0x100283c9c\nmov     r14, [rbx+1C8h]                                                ; +0xb2, 0x100283ca2\ncall    GameLevelManager__sharedState                                  ; +0xb9, 0x100283ca9\nmov     rdi, rax                                                       ; +0xbe, 0x100283cae\nmov     esi, 1                                                         ; +0xc1, 0x100283cb1\ncall    sub_10055DE30                                                  ; +0xc6, 0x100283cb6\ntest    r14, r14                                                       ; +0xcb, 0x100283cbb\njz      loc_100283D47                                                  ; +0xce, 0x100283cbe\nmov     r15d, eax                                                      ; +0xd4, 0x100283cc4\nmov     rax, [r14]                                                     ; +0xd7, 0x100283cc7\nmov     rdi, r14                                                       ; +0xda, 0x100283cca\ncall    qword ptr [rax+240h]                                           ; +0xdd, 0x100283ccd\ntest    r15b, r15b                                                     ; +0xe3, 0x100283cd3\njz      short loc_100283D47                                            ; +0xe6, 0x100283cd6\nlea     rdi, aExmark001Png; \"exMark_001.png\"                           ; +0xe8, 0x100283cd8\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0xef, 0x100283cdf\nmov     r15, rax                                                       ; +0xf4, 0x100283ce4\nmov     rax, [r14]                                                     ; +0xf7, 0x100283ce7\nmov     rdi, r14                                                       ; +0xfa, 0x100283cea\nmov     rsi, r15                                                       ; +0xfd, 0x100283ced\nmov     edx, 0Ah                                                       ; +0x100, 0x100283cf0\ncall    qword ptr [rax+1D0h]                                           ; +0x105, 0x100283cf5\nmov     rax, [r15]                                                     ; +0x10b, 0x100283cfb\nmovss   xmm0, cs:dword_100A03588                                       ; +0x10e, 0x100283cfe\nmov     rdi, r15                                                       ; +0x116, 0x100283d06\ncall    qword ptr [rax+0A0h]                                           ; +0x119, 0x100283d09\nmov     rax, [r14]                                                     ; +0x11f, 0x100283d0f\nlea     rdi, [rbp+var_20]                                              ; +0x122, 0x100283d12\nmov     rsi, r14                                                       ; +0x126, 0x100283d16\ncall    qword ptr [rax+150h]                                           ; +0x129, 0x100283d19\nmovss   xmm1, [rbp+var_1C]                                             ; +0x12f, 0x100283d1f\nlea     r14, [rbp+var_28]                                              ; +0x134, 0x100283d24\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x138, 0x100283d28\nmov     rdi, r14                                                       ; +0x140, 0x100283d30\ncall    sub_100278250                                                  ; +0x143, 0x100283d33\nmov     rax, [r15]                                                     ; +0x148, 0x100283d38\nmov     rdi, r15                                                       ; +0x14b, 0x100283d3b\nmov     rsi, r14                                                       ; +0x14e, 0x100283d3e\ncall    qword ptr [rax+0B8h]                                           ; +0x151, 0x100283d41\nmov     r14, [rbx+1D0h]                                                ; +0x157, 0x100283d47\ncall    GameLevelManager__sharedState                                  ; +0x15e, 0x100283d4e\nmov     rdi, rax                                                       ; +0x163, 0x100283d53\nmov     esi, 2                                                         ; +0x166, 0x100283d56\ncall    sub_10055DE30                                                  ; +0x16b, 0x100283d5b\ntest    r14, r14                                                       ; +0x170, 0x100283d60\njz      loc_100283DEC                                                  ; +0x173, 0x100283d63\nmov     r15d, eax                                                      ; +0x179, 0x100283d69\nmov     rax, [r14]                                                     ; +0x17c, 0x100283d6c\nmov     rdi, r14                                                       ; +0x17f, 0x100283d6f\ncall    qword ptr [rax+240h]                                           ; +0x182, 0x100283d72\ntest    r15b, r15b                                                     ; +0x188, 0x100283d78\njz      short loc_100283DEC                                            ; +0x18b, 0x100283d7b\nlea     rdi, aExmark001Png; \"exMark_001.png\"                           ; +0x18d, 0x100283d7d\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x194, 0x100283d84\nmov     r15, rax                                                       ; +0x199, 0x100283d89\nmov     rax, [r14]                                                     ; +0x19c, 0x100283d8c\nmov     rdi, r14                                                       ; +0x19f, 0x100283d8f\nmov     rsi, r15                                                       ; +0x1a2, 0x100283d92\nmov     edx, 0Ah                                                       ; +0x1a5, 0x100283d95\ncall    qword ptr [rax+1D0h]                                           ; +0x1aa, 0x100283d9a\nmov     rax, [r15]                                                     ; +0x1b0, 0x100283da0\nmovss   xmm0, cs:dword_100A03588                                       ; +0x1b3, 0x100283da3\nmov     rdi, r15                                                       ; +0x1bb, 0x100283dab\ncall    qword ptr [rax+0A0h]                                           ; +0x1be, 0x100283dae\nmov     rax, [r14]                                                     ; +0x1c4, 0x100283db4\nlea     rdi, [rbp+var_20]                                              ; +0x1c7, 0x100283db7\nmov     rsi, r14                                                       ; +0x1cb, 0x100283dbb\ncall    qword ptr [rax+150h]                                           ; +0x1ce, 0x100283dbe\nmovss   xmm1, [rbp+var_1C]                                             ; +0x1d4, 0x100283dc4\nlea     r14, [rbp+var_28]                                              ; +0x1d9, 0x100283dc9\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x1dd, 0x100283dcd\nmov     rdi, r14                                                       ; +0x1e5, 0x100283dd5\ncall    sub_100278250                                                  ; +0x1e8, 0x100283dd8\nmov     rax, [r15]                                                     ; +0x1ed, 0x100283ddd\nmov     rdi, r15                                                       ; +0x1f0, 0x100283de0\nmov     rsi, r14                                                       ; +0x1f3, 0x100283de3\ncall    qword ptr [rax+0B8h]                                           ; +0x1f6, 0x100283de6\nmov     rbx, [rbx+1D8h]                                                ; +0x1fc, 0x100283dec\ncall    GameLevelManager__sharedState                                  ; +0x203, 0x100283df3\nmov     rdi, rax                                                       ; +0x208, 0x100283df8\ncall    GameLevelManager__hasNewGauntlets                              ; +0x20b, 0x100283dfb\ntest    rbx, rbx                                                       ; +0x210, 0x100283e00\njz      loc_100283E8C                                                  ; +0x213, 0x100283e03\nmov     r14d, eax                                                      ; +0x219, 0x100283e09\nmov     rax, [rbx]                                                     ; +0x21c, 0x100283e0c\nmov     rdi, rbx                                                       ; +0x21f, 0x100283e0f\ncall    qword ptr [rax+240h]                                           ; +0x222, 0x100283e12\ntest    r14b, r14b                                                     ; +0x228, 0x100283e18\njz      short loc_100283E8C                                            ; +0x22b, 0x100283e1b\nlea     rdi, aExmark001Png; \"exMark_001.png\"                           ; +0x22d, 0x100283e1d\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x234, 0x100283e24\nmov     r14, rax                                                       ; +0x239, 0x100283e29\nmov     rax, [rbx]                                                     ; +0x23c, 0x100283e2c\nmov     rdi, rbx                                                       ; +0x23f, 0x100283e2f\nmov     rsi, r14                                                       ; +0x242, 0x100283e32\nmov     edx, 0Ah                                                       ; +0x245, 0x100283e35\ncall    qword ptr [rax+1D0h]                                           ; +0x24a, 0x100283e3a\nmov     rax, [r14]                                                     ; +0x250, 0x100283e40\nmovss   xmm0, cs:dword_100A03588                                       ; +0x253, 0x100283e43\nmov     rdi, r14                                                       ; +0x25b, 0x100283e4b\ncall    qword ptr [rax+0A0h]                                           ; +0x25e, 0x100283e4e\nmov     rax, [rbx]                                                     ; +0x264, 0x100283e54\nlea     rdi, [rbp+var_20]                                              ; +0x267, 0x100283e57\nmov     rsi, rbx                                                       ; +0x26b, 0x100283e5b\ncall    qword ptr [rax+150h]                                           ; +0x26e, 0x100283e5e\nmovss   xmm1, [rbp+var_1C]                                             ; +0x274, 0x100283e64\nlea     rbx, [rbp+var_28]                                              ; +0x279, 0x100283e69\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x27d, 0x100283e6d\nmov     rdi, rbx                                                       ; +0x285, 0x100283e75\ncall    sub_100278250                                                  ; +0x288, 0x100283e78\nmov     rax, [r14]                                                     ; +0x28d, 0x100283e7d\nmov     rdi, r14                                                       ; +0x290, 0x100283e80\nmov     rsi, rbx                                                       ; +0x293, 0x100283e83\ncall    qword ptr [rax+0B8h]                                           ; +0x296, 0x100283e86\nadd     rsp, 18h                                                       ; +0x29c, 0x100283e8c\npop     rbx                                                            ; +0x2a0, 0x100283e90\npop     r14                                                            ; +0x2a1, 0x100283e91\npop     r15                                                            ; +0x2a3, 0x100283e93\npop     rbp                                                            ; +0x2a5, 0x100283e95\nretn                                                                   ; +0x2a6, 0x100283e96", "xrefs": ["CreatorLayer::init @ 0x1002828d9", "CreatorLayer::contentStatusFinished @ 0x100284795", "sub_1002847A0 @ 0x1002847ac", "CreatorLayer::sceneWillResume @ 0x10028498b"], "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"}