{"type": "func", "start": 5373699056, "end": 5373700016, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x1404c23f0 to 0x1404c27b0 (960 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140614758\n// > <???> @ 0x1406dcf68\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// local variable allocation has failed, the output may be wrong!\n// Hidden C++ exception states: #wind=8\nvoid ArtTriggerGameObject::triggerObject(\n        ArtTriggerGameObject *a1,\n        GJBaseGameLayer *a2,\n        int a3,\n        std::vector<int> *const a4)\n{\n  __int64 v5; // rdx\n  int v6; // edi\n  __int64 v7; // rbp\n  GJMGLayer *m_middleground; // rcx\n  int v9; // eax\n  int v10; // esi\n  cocos2d::CCString *v11; // rax\n  const char *v12; // rbx\n  __int64 v13; // rax\n  cocos2d::CCString *v14; // rax\n  const char *CString; // rbx\n  __int64 v16; // rax\n  void (*v17)(GameManager *, cocos2d::CCObject *); // r9\n  __int64 v18; // r8\n  int v19; // edi\n  __int64 v20; // rbp\n  int v21; // ecx\n  int v22; // eax\n  cocos2d::CCString *v23; // rax\n  const char *v24; // rbx\n  __int64 v25; // rax\n  cocos2d::CCString *v26; // rax\n  int m_artIndex; // esi\n  __int64 v28; // rdi\n  int v29; // ecx\n  int v30; // eax\n  cocos2d::CCString *v31; // rax\n  void *v32; // [rsp+40h] [rbp+8h]\n  void *v33; // [rsp+40h] [rbp+8h]\n  void *v34; // [rsp+40h] [rbp+8h]\n\n  if ( a1->m_objectID == 3029 )\n  {\n    m_artIndex = a1->m_artIndex;\n    a2->m_gameState.m_background = m_artIndex;\n    if ( a2->m_skipArtReload )\n      return;\n    v28 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v34 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v34);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v28 = qword_1406C2ED8;\n    }\n    v29 = *(_DWORD *)(v28 + 960);\n    if ( v29 == m_artIndex )\n    {\n      GJBaseGameLayer::createBackground(a2, m_artIndex);\n      GJBaseGameLayer::updateLevelColors(a2);\n      return;\n    }\n    v30 = 59;\n    if ( m_artIndex < 59 )\n      v30 = m_artIndex;\n    v10 = 1;\n    if ( v30 > 1 )\n      v10 = v30;\n    if ( !*(_BYTE *)(v28 + 980) && v10 != v29 )\n    {\n      *(_BYTE *)(v28 + 980) = 1;\n      v31 = cocos2d::CCString::createWithFormat(\"game_bg_%02d_001.png\", v10);\n      CString = cocos2d::CCString::getCString(v31);\n      v16 = cocos2d::CCTextureCache::sharedTextureCache();\n      v17 = GameManager::finishedLoadingBGAsync;\n      v18 = v28;\n      goto LABEL_45;\n    }\n  }\n  else\n  {\n    v5 = (unsigned int)(a1->m_objectID - 3030);\n    if ( a1->m_objectID == 3030 )\n    {\n      v19 = a1->m_artIndex;\n      a2->m_gameState.m_ground = v19;\n      if ( !a2->m_skipArtReload )\n      {\n        v20 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v33 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v33);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v20 = qword_1406C2ED8;\n        }\n        v21 = *(_DWORD *)(v20 + 964);\n        if ( v21 != v19 )\n        {\n          v22 = 22;\n          if ( v19 < 22 )\n            v22 = v19;\n          v10 = 1;\n          if ( v22 > 1 )\n            v10 = v22;\n          if ( !*(_BYTE *)(v20 + 981) && v10 != v21 )\n          {\n            *(_BYTE *)(v20 + 981) = 1;\n            *(_BYTE *)(v20 + 983) = 0;\n            *(_BYTE *)(v20 + 984) = (unsigned int)(v10 - 8) > 3;\n            v23 = cocos2d::CCString::createWithFormat(\"groundSquare_%02d_001.png\", v10);\n            v24 = cocos2d::CCString::getCString(v23);\n            v25 = cocos2d::CCTextureCache::sharedTextureCache();\n            cocos2d::CCTextureCache::addImageAsync(v25, v24, v20, GameManager::finishedLoadingGAsync1, v10, 0);\n            if ( (unsigned int)(v10 - 8) <= 3 )\n            {\n              v26 = cocos2d::CCString::createWithFormat(\"groundSquare_%02d_2_001.png\", v10);\n              CString = cocos2d::CCString::getCString(v26);\n              v16 = cocos2d::CCTextureCache::sharedTextureCache();\n              v17 = GameManager::finishedLoadingGAsync2;\n              v18 = v20;\n              goto LABEL_45;\n            }\n          }\n        }\n      }\n    }\n    else\n    {\n      if ( a1->m_objectID != 3031 )\n        return;\n      v6 = a1->m_artIndex;\n      a2->m_gameState.m_middleground = v6;\n      if ( a2->m_skipArtReload )\n        return;\n      v7 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v32 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v32);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v7 = qword_1406C2ED8;\n      }\n      if ( *(_DWORD *)(v7 + 968) == v6 )\n      {\n        if ( v6 > 0 && !a2->m_middleground )\n        {\n          GJBaseGameLayer::createMiddleground(a2, v6);\n          GJBaseGameLayer::updateLevelColors(a2);\n        }\n        return;\n      }\n      if ( !v6 )\n      {\n        m_middleground = a2->m_middleground;\n        if ( m_middleground )\n        {\n          ((void (__fastcall *)(GJMGLayer *, __int64, _QWORD, std::vector<int> *const))m_middleground->removeFromParent)(\n            m_middleground,\n            v5,\n            *(_QWORD *)&a3,\n            a4);\n          a2->m_middleground = nullptr;\n        }\n        return;\n      }\n      v9 = 3;\n      if ( v6 < 3 )\n        v9 = v6;\n      v10 = 1;\n      if ( v9 > 1 )\n        v10 = v9;\n      if ( !*(_BYTE *)(v7 + 982) && v10 != *(_DWORD *)(v7 + 968) )\n      {\n        *(_BYTE *)(v7 + 982) = 1;\n        *(_WORD *)(v7 + 985) = 0;\n        v11 = cocos2d::CCString::createWithFormat(\"fg_%02d_001.png\", v10);\n        v12 = cocos2d::CCString::getCString(v11);\n        v13 = cocos2d::CCTextureCache::sharedTextureCache();\n        cocos2d::CCTextureCache::addImageAsync(v13, v12, v7, GameManager::finishedLoadingMGAsync1, v10, 0);\n        v14 = cocos2d::CCString::createWithFormat(\"fg_%02d_2_001.png\", v10);\n        CString = cocos2d::CCString::getCString(v14);\n        v16 = cocos2d::CCTextureCache::sharedTextureCache();\n        v17 = GameManager::finishedLoadingMGAsync2;\n        v18 = v7;\nLABEL_45:\n        cocos2d::CCTextureCache::addImageAsync(v16, CString, v18, v17, v10, 0);\n      }\n    }\n  }\n}", "assembly": "; \n; ArtTriggerGameObject::triggerObject from 0x1404c23f0 to 0x1404c27b0 (960 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140614758\n; > <???> @ 0x1406dcf68\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, 0x1404c23f0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1404c23f5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1404c23fa\npush    rdi                                                            ; +0xf, 0x1404c23ff\nsub     rsp, 30h                                                       ; +0x10, 0x1404c2400\nmov     rbx, rdx                                                       ; +0x14, 0x1404c2404\nmov     edx, [rcx+40Ch]                                                ; +0x17, 0x1404c2407\nsub     edx, 0BD5h                                                     ; +0x1d, 0x1404c240d\njz      loc_1404C26BD                                                  ; +0x23, 0x1404c2413\nsub     edx, 1                                                         ; +0x29, 0x1404c2419\njz      loc_1404C2592                                                  ; +0x2c, 0x1404c241c\ncmp     edx, 1                                                         ; +0x32, 0x1404c2422\njnz     loc_1404C279B                                                  ; +0x35, 0x1404c2425\nmov     edi, [rcx+740h]                                                ; +0x3b, 0x1404c242b\nmov     [rbx+85Ch], edi                                                ; +0x41, 0x1404c2431\ncmp     byte ptr [rbx+3225h], 0                                        ; +0x47, 0x1404c2437\njnz     loc_1404C279B                                                  ; +0x4e, 0x1404c243e\nmov     rbp, cs:qword_1406C2ED8                                        ; +0x54, 0x1404c2444\ntest    rbp, rbp                                                       ; +0x5b, 0x1404c244b\njnz     short loc_1404C2480                                            ; +0x5e, 0x1404c244e\nmov     ecx, 668h; Size                                                ; +0x60, 0x1404c2450\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x65, 0x1404c2455\nmov     [rsp+38h+arg_0], rax                                           ; +0x6a, 0x1404c245a\nmov     rcx, rax                                                       ; +0x6f, 0x1404c245f\ncall    sub_14017AB00                                                  ; +0x72, 0x1404c2462\nnop                                                                    ; +0x77, 0x1404c2467\nmov     cs:qword_1406C2ED8, rax                                        ; +0x78, 0x1404c2468\nmov     r8, [rax]                                                      ; +0x7f, 0x1404c246f\nmov     rcx, rax                                                       ; +0x82, 0x1404c2472\ncall    qword ptr [r8+48h]                                             ; +0x85, 0x1404c2475\nmov     rbp, cs:qword_1406C2ED8                                        ; +0x89, 0x1404c2479\ncmp     [rbp+3C8h], edi                                                ; +0x90, 0x1404c2480\njnz     short loc_1404C24B5                                            ; +0x96, 0x1404c2486\ntest    edi, edi                                                       ; +0x98, 0x1404c2488\njle     loc_1404C279B                                                  ; +0x9a, 0x1404c248a\ncmp     qword ptr [rbx+1020h], 0                                       ; +0xa0, 0x1404c2490\njnz     loc_1404C279B                                                  ; +0xa8, 0x1404c2498\nmov     edx, edi                                                       ; +0xae, 0x1404c249e\nmov     rcx, rbx                                                       ; +0xb0, 0x1404c24a0\ncall    GJBaseGameLayer__createMiddleground                            ; +0xb3, 0x1404c24a3\nmov     rcx, rbx                                                       ; +0xb8, 0x1404c24a8\ncall    GJBaseGameLayer__updateLevelColors                             ; +0xbb, 0x1404c24ab\njmp     loc_1404C279B                                                  ; +0xc0, 0x1404c24b0\ntest    edi, edi                                                       ; +0xc5, 0x1404c24b5\njnz     short loc_1404C24E2                                            ; +0xc7, 0x1404c24b7\nmov     rcx, [rbx+1020h]                                               ; +0xc9, 0x1404c24b9\ntest    rcx, rcx                                                       ; +0xd0, 0x1404c24c0\njz      loc_1404C279B                                                  ; +0xd3, 0x1404c24c3\nmov     rax, [rcx]                                                     ; +0xd9, 0x1404c24c9\ncall    qword ptr [rax+1F0h]                                           ; +0xdc, 0x1404c24cc\nmov     qword ptr [rbx+1020h], 0                                       ; +0xe2, 0x1404c24d2\njmp     loc_1404C279B                                                  ; +0xed, 0x1404c24dd\nmov     eax, 3                                                         ; +0xf2, 0x1404c24e2\ncmp     edi, eax                                                       ; +0xf7, 0x1404c24e7\ncmovl   eax, edi                                                       ; +0xf9, 0x1404c24e9\nmov     esi, 1                                                         ; +0xfc, 0x1404c24ec\ncmp     eax, esi                                                       ; +0x101, 0x1404c24f1\ncmovg   esi, eax                                                       ; +0x103, 0x1404c24f3\ncmp     byte ptr [rbp+3D6h], 0                                         ; +0x106, 0x1404c24f6\njnz     loc_1404C279B                                                  ; +0x10d, 0x1404c24fd\ncmp     esi, [rbp+3C8h]                                                ; +0x113, 0x1404c2503\njz      loc_1404C279B                                                  ; +0x119, 0x1404c2509\nmov     byte ptr [rbp+3D6h], 1                                         ; +0x11f, 0x1404c250f\nmov     word ptr [rbp+3D9h], 0                                         ; +0x126, 0x1404c2516\nmov     edx, esi                                                       ; +0x12f, 0x1404c251f\nlea     rcx, aFg02d001Png; \"fg_%02d_001.png\"                           ; +0x131, 0x1404c2521\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x138, 0x1404c2528\nmov     rcx, rax                                                       ; +0x13e, 0x1404c252e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x141, 0x1404c2531\nmov     rbx, rax                                                       ; +0x147, 0x1404c2537\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x14a, 0x1404c253a\nmov     rcx, rax                                                       ; +0x150, 0x1404c2540\nmov     [rsp+38h+var_10], 0                                            ; +0x153, 0x1404c2543\nmov     [rsp+38h+var_18], esi                                          ; +0x15b, 0x1404c254b\nlea     r9, GameManager__finishedLoadingMGAsync1                       ; +0x15f, 0x1404c254f\nmov     r8, rbp                                                        ; +0x166, 0x1404c2556\nmov     rdx, rbx                                                       ; +0x169, 0x1404c2559\ncall    cs:?addImageAsync@CCTextureCache@cocos2d@@QEAAXPEBDPEAVCCObject@2@P832@EAAX1@ZHW4CCTexture2DPixelFormat@2@@Z; cocos2d::CCTextureCache::addImageAsync(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *),int,cocos2d::CCTexture2DPixelFormat) ; +0x16c, 0x1404c255c\nmov     edx, esi                                                       ; +0x172, 0x1404c2562\nlea     rcx, aFg02d2001Png; \"fg_%02d_2_001.png\"                        ; +0x174, 0x1404c2564\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x17b, 0x1404c256b\nmov     rcx, rax                                                       ; +0x181, 0x1404c2571\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x184, 0x1404c2574\nmov     rbx, rax                                                       ; +0x18a, 0x1404c257a\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18d, 0x1404c257d\nlea     r9, GameManager__finishedLoadingMGAsync2                       ; +0x193, 0x1404c2583\nmov     r8, rbp                                                        ; +0x19a, 0x1404c258a\njmp     loc_1404C2783                                                  ; +0x19d, 0x1404c258d\nmov     edi, [rcx+740h]                                                ; +0x1a2, 0x1404c2592\nmov     [rbx+858h], edi                                                ; +0x1a8, 0x1404c2598\ncmp     byte ptr [rbx+3225h], 0                                        ; +0x1ae, 0x1404c259e\njnz     loc_1404C279B                                                  ; +0x1b5, 0x1404c25a5\nmov     rbp, cs:qword_1406C2ED8                                        ; +0x1bb, 0x1404c25ab\ntest    rbp, rbp                                                       ; +0x1c2, 0x1404c25b2\njnz     short loc_1404C25E6                                            ; +0x1c5, 0x1404c25b5\nmov     ecx, 668h; Size                                                ; +0x1c7, 0x1404c25b7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1cc, 0x1404c25bc\nmov     [rsp+38h+arg_0], rax                                           ; +0x1d1, 0x1404c25c1\nmov     rcx, rax                                                       ; +0x1d6, 0x1404c25c6\ncall    sub_14017AB00                                                  ; +0x1d9, 0x1404c25c9\nnop                                                                    ; +0x1de, 0x1404c25ce\nmov     cs:qword_1406C2ED8, rax                                        ; +0x1df, 0x1404c25cf\nmov     rdx, [rax]                                                     ; +0x1e6, 0x1404c25d6\nmov     rcx, rax                                                       ; +0x1e9, 0x1404c25d9\ncall    qword ptr [rdx+48h]                                            ; +0x1ec, 0x1404c25dc\nmov     rbp, cs:qword_1406C2ED8                                        ; +0x1ef, 0x1404c25df\nmov     ecx, [rbp+3C4h]                                                ; +0x1f6, 0x1404c25e6\ncmp     ecx, edi                                                       ; +0x1fc, 0x1404c25ec\njz      loc_1404C279B                                                  ; +0x1fe, 0x1404c25ee\nmov     eax, 16h                                                       ; +0x204, 0x1404c25f4\ncmp     edi, eax                                                       ; +0x209, 0x1404c25f9\ncmovl   eax, edi                                                       ; +0x20b, 0x1404c25fb\nmov     esi, 1                                                         ; +0x20e, 0x1404c25fe\ncmp     eax, esi                                                       ; +0x213, 0x1404c2603\ncmovg   esi, eax                                                       ; +0x215, 0x1404c2605\ncmp     byte ptr [rbp+3D5h], 0                                         ; +0x218, 0x1404c2608\njnz     loc_1404C279B                                                  ; +0x21f, 0x1404c260f\ncmp     esi, ecx                                                       ; +0x225, 0x1404c2615\njz      loc_1404C279B                                                  ; +0x227, 0x1404c2617\nmov     byte ptr [rbp+3D5h], 1                                         ; +0x22d, 0x1404c261d\nlea     eax, [rsi-8]                                                   ; +0x234, 0x1404c2624\ncmp     eax, 3                                                         ; +0x237, 0x1404c2627\nsetbe   dil                                                            ; +0x23a, 0x1404c262a\nmov     byte ptr [rbp+3D7h], 0                                         ; +0x23e, 0x1404c262e\nmovzx   eax, dil                                                       ; +0x245, 0x1404c2635\nxor     al, 1                                                          ; +0x249, 0x1404c2639\nmov     [rbp+3D8h], al                                                 ; +0x24b, 0x1404c263b\nmov     edx, esi                                                       ; +0x251, 0x1404c2641\nlea     rcx, aGroundsquare02; \"groundSquare_%02d_001.png\"              ; +0x253, 0x1404c2643\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x25a, 0x1404c264a\nmov     rcx, rax                                                       ; +0x260, 0x1404c2650\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x263, 0x1404c2653\nmov     rbx, rax                                                       ; +0x269, 0x1404c2659\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x26c, 0x1404c265c\nmov     rcx, rax                                                       ; +0x272, 0x1404c2662\nmov     [rsp+38h+var_10], 0                                            ; +0x275, 0x1404c2665\nmov     [rsp+38h+var_18], esi                                          ; +0x27d, 0x1404c266d\nlea     r9, GameManager__finishedLoadingGAsync1                        ; +0x281, 0x1404c2671\nmov     r8, rbp                                                        ; +0x288, 0x1404c2678\nmov     rdx, rbx                                                       ; +0x28b, 0x1404c267b\ncall    cs:?addImageAsync@CCTextureCache@cocos2d@@QEAAXPEBDPEAVCCObject@2@P832@EAAX1@ZHW4CCTexture2DPixelFormat@2@@Z; cocos2d::CCTextureCache::addImageAsync(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *),int,cocos2d::CCTexture2DPixelFormat) ; +0x28e, 0x1404c267e\ntest    dil, dil                                                       ; +0x294, 0x1404c2684\njz      loc_1404C279B                                                  ; +0x297, 0x1404c2687\nmov     edx, esi                                                       ; +0x29d, 0x1404c268d\nlea     rcx, aGroundsquare02_0; \"groundSquare_%02d_2_001.png\"          ; +0x29f, 0x1404c268f\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2a6, 0x1404c2696\nmov     rcx, rax                                                       ; +0x2ac, 0x1404c269c\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2af, 0x1404c269f\nmov     rbx, rax                                                       ; +0x2b5, 0x1404c26a5\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x2b8, 0x1404c26a8\nlea     r9, GameManager__finishedLoadingGAsync2                        ; +0x2be, 0x1404c26ae\nmov     r8, rbp                                                        ; +0x2c5, 0x1404c26b5\njmp     loc_1404C2783                                                  ; +0x2c8, 0x1404c26b8\nmov     esi, [rcx+740h]                                                ; +0x2cd, 0x1404c26bd\nmov     [rbx+854h], esi                                                ; +0x2d3, 0x1404c26c3\ncmp     byte ptr [rbx+3225h], 0                                        ; +0x2d9, 0x1404c26c9\njnz     loc_1404C279B                                                  ; +0x2e0, 0x1404c26d0\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x2e6, 0x1404c26d6\ntest    rdi, rdi                                                       ; +0x2ed, 0x1404c26dd\njnz     short loc_1404C2712                                            ; +0x2f0, 0x1404c26e0\nmov     ecx, 668h; Size                                                ; +0x2f2, 0x1404c26e2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2f7, 0x1404c26e7\nmov     [rsp+38h+arg_0], rax                                           ; +0x2fc, 0x1404c26ec\nmov     rcx, rax                                                       ; +0x301, 0x1404c26f1\ncall    sub_14017AB00                                                  ; +0x304, 0x1404c26f4\nnop                                                                    ; +0x309, 0x1404c26f9\nmov     cs:qword_1406C2ED8, rax                                        ; +0x30a, 0x1404c26fa\nmov     r8, [rax]                                                      ; +0x311, 0x1404c2701\nmov     rcx, rax                                                       ; +0x314, 0x1404c2704\ncall    qword ptr [r8+48h]                                             ; +0x317, 0x1404c2707\nmov     rdi, cs:qword_1406C2ED8                                        ; +0x31b, 0x1404c270b\nmov     ecx, [rdi+3C0h]                                                ; +0x322, 0x1404c2712\ncmp     ecx, esi                                                       ; +0x328, 0x1404c2718\njnz     short loc_1404C2730                                            ; +0x32a, 0x1404c271a\nmov     edx, esi                                                       ; +0x32c, 0x1404c271c\nmov     rcx, rbx                                                       ; +0x32e, 0x1404c271e\ncall    GJBaseGameLayer__createBackground                              ; +0x331, 0x1404c2721\nmov     rcx, rbx                                                       ; +0x336, 0x1404c2726\ncall    GJBaseGameLayer__updateLevelColors                             ; +0x339, 0x1404c2729\njmp     short loc_1404C279B                                            ; +0x33e, 0x1404c272e\nmov     eax, 3Bh ; ';'                                                 ; +0x340, 0x1404c2730\ncmp     esi, eax                                                       ; +0x345, 0x1404c2735\ncmovl   eax, esi                                                       ; +0x347, 0x1404c2737\nmov     esi, 1                                                         ; +0x34a, 0x1404c273a\ncmp     eax, esi                                                       ; +0x34f, 0x1404c273f\ncmovg   esi, eax                                                       ; +0x351, 0x1404c2741\ncmp     byte ptr [rdi+3D4h], 0                                         ; +0x354, 0x1404c2744\njnz     short loc_1404C279B                                            ; +0x35b, 0x1404c274b\ncmp     esi, ecx                                                       ; +0x35d, 0x1404c274d\njz      short loc_1404C279B                                            ; +0x35f, 0x1404c274f\nmov     byte ptr [rdi+3D4h], 1                                         ; +0x361, 0x1404c2751\nmov     edx, esi                                                       ; +0x368, 0x1404c2758\nlea     rcx, aGameBg02d001Pn; \"game_bg_%02d_001.png\"                   ; +0x36a, 0x1404c275a\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x371, 0x1404c2761\nmov     rcx, rax                                                       ; +0x377, 0x1404c2767\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x37a, 0x1404c276a\nmov     rbx, rax                                                       ; +0x380, 0x1404c2770\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x383, 0x1404c2773\nlea     r9, GameManager__finishedLoadingBGAsync                        ; +0x389, 0x1404c2779\nmov     r8, rdi                                                        ; +0x390, 0x1404c2780\nmov     [rsp+38h+var_10], 0                                            ; +0x393, 0x1404c2783\nmov     [rsp+38h+var_18], esi                                          ; +0x39b, 0x1404c278b\nmov     rdx, rbx                                                       ; +0x39f, 0x1404c278f\nmov     rcx, rax                                                       ; +0x3a2, 0x1404c2792\ncall    cs:?addImageAsync@CCTextureCache@cocos2d@@QEAAXPEBDPEAVCCObject@2@P832@EAAX1@ZHW4CCTexture2DPixelFormat@2@@Z; cocos2d::CCTextureCache::addImageAsync(char const *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *),int,cocos2d::CCTexture2DPixelFormat) ; +0x3a5, 0x1404c2795\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x3ab, 0x1404c279b\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x3b0, 0x1404c27a0\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x3b5, 0x1404c27a5\nadd     rsp, 30h                                                       ; +0x3ba, 0x1404c27aa\npop     rdi                                                            ; +0x3be, 0x1404c27ae\nretn                                                                   ; +0x3bf, 0x1404c27af", "xrefs": ["<???> @ 0x140614758", "<???> @ 0x1406dcf68"], "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"}