{"type": "func", "start": 5375406112, "end": 5375407078, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x140663020 to 0x1406633e6 (966 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140826758\n// > <???> @ 0x140931c04\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 11:35:49 +0000\n// \n\n// Hidden C++ exception states: #wind=8\nvoid __fastcall ArtTriggerGameObject::triggerObject(__int64 a1, __int64 a2)\n{\n  int v3; // edi\n  __int64 v4; // rbp\n  int v5; // ecx\n  __int64 v6; // rcx\n  int v7; // eax\n  int v8; // esi\n  cocos2d::CCString *v9; // rax\n  const char *v10; // rbx\n  __int64 v11; // rcx\n  __int64 v12; // rax\n  cocos2d::CCString *v13; // rax\n  const char *CString; // rbx\n  __int64 v15; // rcx\n  __int64 v16; // rax\n  void (__fastcall *v17)(__int64, __int64); // 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; // rcx\n  __int64 v26; // rax\n  cocos2d::CCString *v27; // rax\n  __int64 v28; // rcx\n  int v29; // esi\n  __int64 v30; // rdi\n  int v31; // ecx\n  int v32; // eax\n  cocos2d::CCString *v33; // rax\n  __int64 v34; // rcx\n  void *v35; // [rsp+40h] [rbp+8h]\n  void *v36; // [rsp+40h] [rbp+8h]\n  void *v37; // [rsp+40h] [rbp+8h]\n\n  switch ( *(_DWORD *)(a1 + 1036) )\n  {\n    case 0xBD5:\n      v29 = *(_DWORD *)(a1 + 1856);\n      *(_DWORD *)(a2 + 2132) = v29;\n      if ( *(_BYTE *)(a2 + 13085) )\n        return;\n      v30 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v37 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v37);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v30 = qword_14090BFD0;\n      }\n      v31 = *(_DWORD *)(v30 + 1012);\n      if ( v31 == v29 )\n      {\n        GJBaseGameLayer::createBackground(a2, v29);\n        GJBaseGameLayer::updateLevelColors((_QWORD *)a2);\n        return;\n      }\n      v32 = 59;\n      if ( v29 < 59 )\n        v32 = v29;\n      v8 = 1;\n      if ( v32 > 1 )\n        v8 = v32;\n      if ( !*(_BYTE *)(v30 + 1032) && v8 != v31 )\n      {\n        *(_BYTE *)(v30 + 1032) = 1;\n        v33 = cocos2d::CCString::createWithFormat(\"game_bg_%02d_001.png\", v8);\n        CString = cocos2d::CCString::getCString(v33);\n        v16 = cocos2d::CCTextureCache::sharedTextureCache(v34);\n        v17 = GameManager::finishedLoadingBGAsync;\n        v18 = v30;\n        goto LABEL_45;\n      }\n      break;\n    case 0xBD6:\n      v19 = *(_DWORD *)(a1 + 1856);\n      *(_DWORD *)(a2 + 2136) = v19;\n      if ( !*(_BYTE *)(a2 + 13085) )\n      {\n        v20 = qword_14090BFD0;\n        if ( !qword_14090BFD0 )\n        {\n          v36 = operator new(0x6E8u);\n          qword_14090BFD0 = GameManager::GameManager((__int64)v36);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n          v20 = qword_14090BFD0;\n        }\n        v21 = *(_DWORD *)(v20 + 1016);\n        if ( v21 != v19 )\n        {\n          v22 = 22;\n          if ( v19 < 22 )\n            v22 = v19;\n          v8 = 1;\n          if ( v22 > 1 )\n            v8 = v22;\n          if ( !*(_BYTE *)(v20 + 1033) && v8 != v21 )\n          {\n            *(_BYTE *)(v20 + 1033) = 1;\n            *(_BYTE *)(v20 + 1035) = 0;\n            *(_BYTE *)(v20 + 1036) = (unsigned int)(v8 - 8) > 3;\n            v23 = cocos2d::CCString::createWithFormat(\"groundSquare_%02d_001.png\", v8);\n            v24 = cocos2d::CCString::getCString(v23);\n            v26 = cocos2d::CCTextureCache::sharedTextureCache(v25);\n            cocos2d::CCTextureCache::addImageAsync(v26, v24, v20, GameManager::finishedLoadingGAsync1, v8, 0);\n            if ( (unsigned int)(v8 - 8) <= 3 )\n            {\n              v27 = cocos2d::CCString::createWithFormat(\"groundSquare_%02d_2_001.png\", v8);\n              CString = cocos2d::CCString::getCString(v27);\n              v16 = cocos2d::CCTextureCache::sharedTextureCache(v28);\n              v17 = GameManager::finishedLoadingGAsync2;\n              v18 = v20;\n              goto LABEL_45;\n            }\n          }\n        }\n      }\n      break;\n    case 0xBD7:\n      v3 = *(_DWORD *)(a1 + 1856);\n      *(_DWORD *)(a2 + 2140) = v3;\n      if ( *(_BYTE *)(a2 + 13085) )\n        return;\n      v4 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v35 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v35);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v4 = qword_14090BFD0;\n      }\n      v5 = *(_DWORD *)(v4 + 1020);\n      if ( v5 == v3 )\n      {\n        if ( v3 > 0 && !*(_QWORD *)(a2 + 4352) )\n        {\n          GJBaseGameLayer::createMiddleground(a2, v3);\n          GJBaseGameLayer::updateLevelColors((_QWORD *)a2);\n        }\n        return;\n      }\n      if ( !v3 )\n      {\n        v6 = *(_QWORD *)(a2 + 4352);\n        if ( v6 )\n        {\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 512LL))(v6);\n          *(_QWORD *)(a2 + 4352) = 0;\n        }\n        return;\n      }\n      v7 = 3;\n      if ( v3 < 3 )\n        v7 = v3;\n      v8 = 1;\n      if ( v7 > 1 )\n        v8 = v7;\n      if ( !*(_BYTE *)(v4 + 1034) && v8 != v5 )\n      {\n        *(_BYTE *)(v4 + 1034) = 1;\n        *(_WORD *)(v4 + 1037) = 0;\n        v9 = cocos2d::CCString::createWithFormat(\"fg_%02d_001.png\", v8);\n        v10 = cocos2d::CCString::getCString(v9);\n        v12 = cocos2d::CCTextureCache::sharedTextureCache(v11);\n        cocos2d::CCTextureCache::addImageAsync(v12, v10, v4, GameManager::finishedLoadingMGAsync1, v8, 0);\n        v13 = cocos2d::CCString::createWithFormat(\"fg_%02d_2_001.png\", v8);\n        CString = cocos2d::CCString::getCString(v13);\n        v16 = cocos2d::CCTextureCache::sharedTextureCache(v15);\n        v17 = GameManager::finishedLoadingMGAsync2;\n        v18 = v4;\nLABEL_45:\n        cocos2d::CCTextureCache::addImageAsync(v16, CString, v18, v17, v8, 0);\n      }\n      break;\n    default:\n      return;\n  }\n}", "assembly": "; \n; ArtTriggerGameObject::triggerObject from 0x140663020 to 0x1406633e6 (966 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140826758\n; > <???> @ 0x140931c04\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 11:35:49 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140663020\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140663025\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14066302a\npush    rdi                                                            ; +0xf, 0x14066302f\nsub     rsp, 30h                                                       ; +0x10, 0x140663030\nmov     rbx, rdx                                                       ; +0x14, 0x140663034\nmov     edx, [rcx+40Ch]                                                ; +0x17, 0x140663037\nsub     edx, 0BD5h                                                     ; +0x1d, 0x14066303d\njz      loc_1406632F0                                                  ; +0x23, 0x140663043\nsub     edx, 1                                                         ; +0x29, 0x140663049\njz      loc_1406631C2                                                  ; +0x2c, 0x14066304c\ncmp     edx, 1                                                         ; +0x32, 0x140663052\njnz     loc_1406633D1                                                  ; +0x35, 0x140663055\nmov     edi, [rcx+740h]                                                ; +0x3b, 0x14066305b\nmov     [rbx+85Ch], edi                                                ; +0x41, 0x140663061\ncmp     byte ptr [rbx+331Dh], 0                                        ; +0x47, 0x140663067\njnz     loc_1406633D1                                                  ; +0x4e, 0x14066306e\nmov     rbp, cs:qword_14090BFD0                                        ; +0x54, 0x140663074\ntest    rbp, rbp                                                       ; +0x5b, 0x14066307b\njnz     short loc_1406630B2                                            ; +0x5e, 0x14066307e\nmov     ecx, 6E8h; Size                                                ; +0x60, 0x140663080\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x65, 0x140663085\nmov     [rsp+38h+arg_0], rax                                           ; +0x6a, 0x14066308a\nmov     rcx, rax                                                       ; +0x6f, 0x14066308f\ncall    GameManager__GameManager                                       ; +0x72, 0x140663092\nnop                                                                    ; +0x77, 0x140663097\nmov     cs:qword_14090BFD0, rax                                        ; +0x78, 0x140663098\nmov     rcx, [rax]                                                     ; +0x7f, 0x14066309f\nmov     rdx, [rcx+48h]                                                 ; +0x82, 0x1406630a2\nmov     rcx, rax                                                       ; +0x86, 0x1406630a6\ncall    rdx                                                            ; +0x89, 0x1406630a9\nmov     rbp, cs:qword_14090BFD0                                        ; +0x8b, 0x1406630ab\nmov     ecx, [rbp+3FCh]                                                ; +0x92, 0x1406630b2\ncmp     ecx, edi                                                       ; +0x98, 0x1406630b8\njnz     short loc_1406630E9                                            ; +0x9a, 0x1406630ba\ntest    edi, edi                                                       ; +0x9c, 0x1406630bc\njle     loc_1406633D1                                                  ; +0x9e, 0x1406630be\ncmp     qword ptr [rbx+1100h], 0                                       ; +0xa4, 0x1406630c4\njnz     loc_1406633D1                                                  ; +0xac, 0x1406630cc\nmov     edx, edi                                                       ; +0xb2, 0x1406630d2\nmov     rcx, rbx                                                       ; +0xb4, 0x1406630d4\ncall    GJBaseGameLayer__createMiddleground                            ; +0xb7, 0x1406630d7\nmov     rcx, rbx                                                       ; +0xbc, 0x1406630dc\ncall    GJBaseGameLayer__updateLevelColors                             ; +0xbf, 0x1406630df\njmp     loc_1406633D1                                                  ; +0xc4, 0x1406630e4\ntest    edi, edi                                                       ; +0xc9, 0x1406630e9\njnz     short loc_140663116                                            ; +0xcb, 0x1406630eb\nmov     rcx, [rbx+1100h]                                               ; +0xcd, 0x1406630ed\ntest    rcx, rcx                                                       ; +0xd4, 0x1406630f4\njz      loc_1406633D1                                                  ; +0xd7, 0x1406630f7\nmov     rax, [rcx]                                                     ; +0xdd, 0x1406630fd\ncall    qword ptr [rax+200h]                                           ; +0xe0, 0x140663100\nmov     qword ptr [rbx+1100h], 0                                       ; +0xe6, 0x140663106\njmp     loc_1406633D1                                                  ; +0xf1, 0x140663111\nmov     eax, 3                                                         ; +0xf6, 0x140663116\ncmp     edi, eax                                                       ; +0xfb, 0x14066311b\ncmovl   eax, edi                                                       ; +0xfd, 0x14066311d\nmov     esi, 1                                                         ; +0x100, 0x140663120\ncmp     eax, esi                                                       ; +0x105, 0x140663125\ncmovg   esi, eax                                                       ; +0x107, 0x140663127\ncmp     byte ptr [rbp+40Ah], 0                                         ; +0x10a, 0x14066312a\njnz     loc_1406633D1                                                  ; +0x111, 0x140663131\ncmp     esi, ecx                                                       ; +0x117, 0x140663137\njz      loc_1406633D1                                                  ; +0x119, 0x140663139\nmov     byte ptr [rbp+40Ah], 1                                         ; +0x11f, 0x14066313f\nmov     word ptr [rbp+40Dh], 0                                         ; +0x126, 0x140663146\nmov     edx, esi                                                       ; +0x12f, 0x14066314f\nlea     rcx, aFg02d001Png; \"fg_%02d_001.png\"                           ; +0x131, 0x140663151\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x138, 0x140663158\nmov     rcx, rax                                                       ; +0x13e, 0x14066315e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x141, 0x140663161\nmov     rbx, rax                                                       ; +0x147, 0x140663167\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x14a, 0x14066316a\nmov     rcx, rax                                                       ; +0x150, 0x140663170\nmov     [rsp+38h+var_10], 0                                            ; +0x153, 0x140663173\nmov     [rsp+38h+var_18], esi                                          ; +0x15b, 0x14066317b\nlea     r9, GameManager__finishedLoadingMGAsync1                       ; +0x15f, 0x14066317f\nmov     r8, rbp                                                        ; +0x166, 0x140663186\nmov     rdx, rbx                                                       ; +0x169, 0x140663189\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, 0x14066318c\nmov     edx, esi                                                       ; +0x172, 0x140663192\nlea     rcx, aFg02d2001Png; \"fg_%02d_2_001.png\"                        ; +0x174, 0x140663194\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x17b, 0x14066319b\nmov     rcx, rax                                                       ; +0x181, 0x1406631a1\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x184, 0x1406631a4\nmov     rbx, rax                                                       ; +0x18a, 0x1406631aa\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18d, 0x1406631ad\nlea     r9, GameManager__finishedLoadingMGAsync2                       ; +0x193, 0x1406631b3\nmov     r8, rbp                                                        ; +0x19a, 0x1406631ba\njmp     loc_1406633B9                                                  ; +0x19d, 0x1406631bd\nmov     edi, [rcx+740h]                                                ; +0x1a2, 0x1406631c2\nmov     [rbx+858h], edi                                                ; +0x1a8, 0x1406631c8\ncmp     byte ptr [rbx+331Dh], 0                                        ; +0x1ae, 0x1406631ce\njnz     loc_1406633D1                                                  ; +0x1b5, 0x1406631d5\nmov     rbp, cs:qword_14090BFD0                                        ; +0x1bb, 0x1406631db\ntest    rbp, rbp                                                       ; +0x1c2, 0x1406631e2\njnz     short loc_140663219                                            ; +0x1c5, 0x1406631e5\nmov     ecx, 6E8h; Size                                                ; +0x1c7, 0x1406631e7\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1cc, 0x1406631ec\nmov     [rsp+38h+arg_0], rax                                           ; +0x1d1, 0x1406631f1\nmov     rcx, rax                                                       ; +0x1d6, 0x1406631f6\ncall    GameManager__GameManager                                       ; +0x1d9, 0x1406631f9\nnop                                                                    ; +0x1de, 0x1406631fe\nmov     cs:qword_14090BFD0, rax                                        ; +0x1df, 0x1406631ff\nmov     rcx, [rax]                                                     ; +0x1e6, 0x140663206\nmov     rdx, [rcx+48h]                                                 ; +0x1e9, 0x140663209\nmov     rcx, rax                                                       ; +0x1ed, 0x14066320d\ncall    rdx                                                            ; +0x1f0, 0x140663210\nmov     rbp, cs:qword_14090BFD0                                        ; +0x1f2, 0x140663212\nmov     ecx, [rbp+3F8h]                                                ; +0x1f9, 0x140663219\ncmp     ecx, edi                                                       ; +0x1ff, 0x14066321f\njz      loc_1406633D1                                                  ; +0x201, 0x140663221\nmov     eax, 16h                                                       ; +0x207, 0x140663227\ncmp     edi, eax                                                       ; +0x20c, 0x14066322c\ncmovl   eax, edi                                                       ; +0x20e, 0x14066322e\nmov     esi, 1                                                         ; +0x211, 0x140663231\ncmp     eax, esi                                                       ; +0x216, 0x140663236\ncmovg   esi, eax                                                       ; +0x218, 0x140663238\ncmp     byte ptr [rbp+409h], 0                                         ; +0x21b, 0x14066323b\njnz     loc_1406633D1                                                  ; +0x222, 0x140663242\ncmp     esi, ecx                                                       ; +0x228, 0x140663248\njz      loc_1406633D1                                                  ; +0x22a, 0x14066324a\nmov     byte ptr [rbp+409h], 1                                         ; +0x230, 0x140663250\nlea     eax, [rsi-8]                                                   ; +0x237, 0x140663257\ncmp     eax, 3                                                         ; +0x23a, 0x14066325a\nsetbe   dil                                                            ; +0x23d, 0x14066325d\nmov     byte ptr [rbp+40Bh], 0                                         ; +0x241, 0x140663261\nmovzx   eax, dil                                                       ; +0x248, 0x140663268\nxor     al, 1                                                          ; +0x24c, 0x14066326c\nmov     [rbp+40Ch], al                                                 ; +0x24e, 0x14066326e\nmov     edx, esi                                                       ; +0x254, 0x140663274\nlea     rcx, aGroundsquare02; \"groundSquare_%02d_001.png\"              ; +0x256, 0x140663276\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x25d, 0x14066327d\nmov     rcx, rax                                                       ; +0x263, 0x140663283\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x266, 0x140663286\nmov     rbx, rax                                                       ; +0x26c, 0x14066328c\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x26f, 0x14066328f\nmov     rcx, rax                                                       ; +0x275, 0x140663295\nmov     [rsp+38h+var_10], 0                                            ; +0x278, 0x140663298\nmov     [rsp+38h+var_18], esi                                          ; +0x280, 0x1406632a0\nlea     r9, GameManager__finishedLoadingGAsync1                        ; +0x284, 0x1406632a4\nmov     r8, rbp                                                        ; +0x28b, 0x1406632ab\nmov     rdx, rbx                                                       ; +0x28e, 0x1406632ae\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) ; +0x291, 0x1406632b1\ntest    dil, dil                                                       ; +0x297, 0x1406632b7\njz      loc_1406633D1                                                  ; +0x29a, 0x1406632ba\nmov     edx, esi                                                       ; +0x2a0, 0x1406632c0\nlea     rcx, aGroundsquare02_0; \"groundSquare_%02d_2_001.png\"          ; +0x2a2, 0x1406632c2\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2a9, 0x1406632c9\nmov     rcx, rax                                                       ; +0x2af, 0x1406632cf\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2b2, 0x1406632d2\nmov     rbx, rax                                                       ; +0x2b8, 0x1406632d8\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x2bb, 0x1406632db\nlea     r9, GameManager__finishedLoadingGAsync2                        ; +0x2c1, 0x1406632e1\nmov     r8, rbp                                                        ; +0x2c8, 0x1406632e8\njmp     loc_1406633B9                                                  ; +0x2cb, 0x1406632eb\nmov     esi, [rcx+740h]                                                ; +0x2d0, 0x1406632f0\nmov     [rbx+854h], esi                                                ; +0x2d6, 0x1406632f6\ncmp     byte ptr [rbx+331Dh], 0                                        ; +0x2dc, 0x1406632fc\njnz     loc_1406633D1                                                  ; +0x2e3, 0x140663303\nmov     rdi, cs:qword_14090BFD0                                        ; +0x2e9, 0x140663309\ntest    rdi, rdi                                                       ; +0x2f0, 0x140663310\njnz     short loc_140663348                                            ; +0x2f3, 0x140663313\nmov     ecx, 6E8h; Size                                                ; +0x2f5, 0x140663315\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2fa, 0x14066331a\nmov     [rsp+38h+arg_0], rax                                           ; +0x2ff, 0x14066331f\nmov     rcx, rax                                                       ; +0x304, 0x140663324\ncall    GameManager__GameManager                                       ; +0x307, 0x140663327\nnop                                                                    ; +0x30c, 0x14066332c\nmov     cs:qword_14090BFD0, rax                                        ; +0x30d, 0x14066332d\nmov     rcx, [rax]                                                     ; +0x314, 0x140663334\nmov     r8, [rcx+48h]                                                  ; +0x317, 0x140663337\nmov     rcx, rax                                                       ; +0x31b, 0x14066333b\ncall    r8                                                             ; +0x31e, 0x14066333e\nmov     rdi, cs:qword_14090BFD0                                        ; +0x321, 0x140663341\nmov     ecx, [rdi+3F4h]                                                ; +0x328, 0x140663348\ncmp     ecx, esi                                                       ; +0x32e, 0x14066334e\njnz     short loc_140663366                                            ; +0x330, 0x140663350\nmov     edx, esi                                                       ; +0x332, 0x140663352\nmov     rcx, rbx                                                       ; +0x334, 0x140663354\ncall    GJBaseGameLayer__createBackground                              ; +0x337, 0x140663357\nmov     rcx, rbx                                                       ; +0x33c, 0x14066335c\ncall    GJBaseGameLayer__updateLevelColors                             ; +0x33f, 0x14066335f\njmp     short loc_1406633D1                                            ; +0x344, 0x140663364\nmov     eax, 3Bh ; ';'                                                 ; +0x346, 0x140663366\ncmp     esi, eax                                                       ; +0x34b, 0x14066336b\ncmovl   eax, esi                                                       ; +0x34d, 0x14066336d\nmov     esi, 1                                                         ; +0x350, 0x140663370\ncmp     eax, esi                                                       ; +0x355, 0x140663375\ncmovg   esi, eax                                                       ; +0x357, 0x140663377\ncmp     byte ptr [rdi+408h], 0                                         ; +0x35a, 0x14066337a\njnz     short loc_1406633D1                                            ; +0x361, 0x140663381\ncmp     esi, ecx                                                       ; +0x363, 0x140663383\njz      short loc_1406633D1                                            ; +0x365, 0x140663385\nmov     byte ptr [rdi+408h], 1                                         ; +0x367, 0x140663387\nmov     edx, esi                                                       ; +0x36e, 0x14066338e\nlea     rcx, aGameBg02d001Pn; \"game_bg_%02d_001.png\"                   ; +0x370, 0x140663390\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x377, 0x140663397\nmov     rcx, rax                                                       ; +0x37d, 0x14066339d\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x380, 0x1406633a0\nmov     rbx, rax                                                       ; +0x386, 0x1406633a6\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x389, 0x1406633a9\nlea     r9, GameManager__finishedLoadingBGAsync                        ; +0x38f, 0x1406633af\nmov     r8, rdi                                                        ; +0x396, 0x1406633b6\nmov     [rsp+38h+var_10], 0                                            ; +0x399, 0x1406633b9\nmov     [rsp+38h+var_18], esi                                          ; +0x3a1, 0x1406633c1\nmov     rdx, rbx                                                       ; +0x3a5, 0x1406633c5\nmov     rcx, rax                                                       ; +0x3a8, 0x1406633c8\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) ; +0x3ab, 0x1406633cb\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x3b1, 0x1406633d1\nmov     rbp, [rsp+38h+arg_10]                                          ; +0x3b6, 0x1406633d6\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x3bb, 0x1406633db\nadd     rsp, 30h                                                       ; +0x3c0, 0x1406633e0\npop     rdi                                                            ; +0x3c4, 0x1406633e4\nretn                                                                   ; +0x3c5, 0x1406633e5", "xrefs": ["<???> @ 0x140826758", "<???> @ 0x140931c04"], "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"}