; ; GameManager::finishedLoadingBGAsync from 0x140182950 to 0x1401829f1 (161 bytes) ; ; 4 xrefs: ; > ArtTriggerGameObject::triggerObject @ 0x1404c2779 ; > @ 0x140677ac0 ; > @ 0x140677ad0 ; > @ 0x1406cb490 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rsi ; +0x0, 0x140182950 push rdi ; +0x5, 0x140182955 sub rsp, 20h ; +0x6, 0x140182956 mov byte ptr [rcx+3D4h], 0 ; +0xa, 0x14018295a mov rsi, rdx ; +0x11, 0x140182961 mov rdi, rcx ; +0x14, 0x140182964 test rdx, rdx ; +0x17, 0x140182967 jz short loc_1401829E6 ; +0x1a, 0x14018296a cmp qword ptr [rcx+218h], 0 ; +0x1c, 0x14018296c mov [rsp+28h+arg_0], rbx ; +0x24, 0x140182974 jz short loc_14018299D ; +0x29, 0x140182979 mov rax, [rdx] ; +0x2b, 0x14018297b mov rcx, rdx ; +0x2e, 0x14018297e call qword ptr [rax+38h] ; +0x31, 0x140182981 mov rbx, [rdi+218h] ; +0x34, 0x140182984 mov edx, eax ; +0x3b, 0x14018298b mov rcx, rbx ; +0x3d, 0x14018298d call GJBaseGameLayer__createBackground ; +0x40, 0x140182990 mov rcx, rbx ; +0x45, 0x140182995 call GJBaseGameLayer__updateLevelColors ; +0x48, 0x140182998 mov edx, [rdi+3C0h] ; +0x4d, 0x14018299d test edx, edx ; +0x53, 0x1401829a3 jz short loc_1401829D2 ; +0x55, 0x1401829a5 lea rcx, aGameBg02d001Pn; "game_bg_%02d_001.png" ; +0x57, 0x1401829a7 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5e, 0x1401829ae mov rcx, rax ; +0x64, 0x1401829b4 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x67, 0x1401829b7 mov rbx, rax ; +0x6d, 0x1401829bd call cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x70, 0x1401829c0 mov rcx, rax ; +0x76, 0x1401829c6 mov rdx, rbx ; +0x79, 0x1401829c9 call cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0x7c, 0x1401829cc mov rax, [rsi] ; +0x82, 0x1401829d2 mov rcx, rsi ; +0x85, 0x1401829d5 call qword ptr [rax+38h] ; +0x88, 0x1401829d8 mov rbx, [rsp+28h+arg_0] ; +0x8b, 0x1401829db mov [rdi+3C0h], eax ; +0x90, 0x1401829e0 mov rsi, [rsp+28h+arg_8] ; +0x96, 0x1401829e6 add rsp, 20h ; +0x9b, 0x1401829eb pop rdi ; +0x9f, 0x1401829ef retn ; +0xa0, 0x1401829f0