{"type": "func", "start": 4298559072, "end": 4298559230, "name": "GameManager::finishedLoadingGAsync", "pseudocode": "// \n// GameManager::finishedLoadingGAsync from 0x10036ce60 to 0x10036cefe (158 bytes)\n// \n// 2 xrefs:\n// > sub_10036CDE0 @ 0x10036ce0d\n// > GameManager::finishedLoadingGAsync2 @ 0x10036ce4d\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:29:01 +0000\n// \n\nvoid __fastcall GameManager::finishedLoadingGAsync(__int64 a1, unsigned int a2, double a3)\n{\n  __int64 v4; // rdi\n  __int64 v5; // rax\n  __int64 CString; // r15\n  __int64 v7; // rdi\n  __int64 v8; // r12\n  __int64 v9; // rdi\n  __int64 v10; // rax\n  char v11; // [rsp+0h] [rbp-20h]\n  char v12; // [rsp+0h] [rbp-20h]\n\n  *(_BYTE *)(a1 + 1001) = 0;\n  v4 = *(_QWORD *)(a1 + 560);\n  if ( v4 )\n    GJBaseGameLayer::asyncGLoaded(v4, a2, a3);\n  if ( *(_DWORD *)(a1 + 984) )\n  {\n    v5 = sub_10088E820(\"groundSquare_%02d_001.png\", v11);\n    CString = cocos2d::CCString::getCString(v5);\n    v7 = sub_10088E820(\"groundSquare_%02d_2_001.png\", v12);\n    v8 = cocos2d::CCString::getCString(v7);\n    v9 = cocos2d::CCTextureCache::sharedTextureCache(v7);\n    cocos2d::CCTextureCache::removeTextureForKey(v9, CString);\n    v10 = cocos2d::CCTextureCache::sharedTextureCache(v9);\n    cocos2d::CCTextureCache::removeTextureForKey(v10, v8);\n  }\n  *(_DWORD *)(a1 + 984) = a2;\n}", "assembly": "; \n; GameManager::finishedLoadingGAsync from 0x10036ce60 to 0x10036cefe (158 bytes)\n; \n; 2 xrefs:\n; > sub_10036CDE0 @ 0x10036ce0d\n; > GameManager::finishedLoadingGAsync2 @ 0x10036ce4d\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:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036ce60\nmov     rbp, rsp                                                       ; +0x1, 0x10036ce61\npush    r15                                                            ; +0x4, 0x10036ce64\npush    r14                                                            ; +0x6, 0x10036ce66\npush    r12                                                            ; +0x8, 0x10036ce68\npush    rbx; char                                                      ; +0xa, 0x10036ce6a\nmov     ebx, esi                                                       ; +0xb, 0x10036ce6b\nmov     r14, rdi                                                       ; +0xd, 0x10036ce6d\nmov     byte ptr [rdi+3E9h], 0                                         ; +0x10, 0x10036ce70\nmov     rdi, [rdi+230h]                                                ; +0x17, 0x10036ce77\ntest    rdi, rdi                                                       ; +0x1e, 0x10036ce7e\njz      short loc_10036CE8A                                            ; +0x21, 0x10036ce81\nmov     esi, ebx                                                       ; +0x23, 0x10036ce83\ncall    GJBaseGameLayer__asyncGLoaded                                  ; +0x25, 0x10036ce85\nmov     esi, [r14+3D8h]                                                ; +0x2a, 0x10036ce8a\ntest    esi, esi                                                       ; +0x31, 0x10036ce91\njz      short loc_10036CEEE                                            ; +0x33, 0x10036ce93\nlea     rdi, aGroundsquare02; \"groundSquare_%02d_001.png\"              ; +0x35, 0x10036ce95\nxor     eax, eax                                                       ; +0x3c, 0x10036ce9c\ncall    sub_10088E820                                                  ; +0x3e, 0x10036ce9e\nmov     rdi, rax                                                       ; +0x43, 0x10036cea3\ncall    cocos2d__CCString__getCString                                  ; +0x46, 0x10036cea6\nmov     r15, rax                                                       ; +0x4b, 0x10036ceab\nmov     esi, [r14+3D8h]                                                ; +0x4e, 0x10036ceae\nlea     rdi, aGroundsquare02_0; \"groundSquare_%02d_2_001.png\"          ; +0x55, 0x10036ceb5\nxor     eax, eax                                                       ; +0x5c, 0x10036cebc\ncall    sub_10088E820                                                  ; +0x5e, 0x10036cebe\nmov     rdi, rax                                                       ; +0x63, 0x10036cec3\ncall    cocos2d__CCString__getCString                                  ; +0x66, 0x10036cec6\nmov     r12, rax                                                       ; +0x6b, 0x10036cecb\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x6e, 0x10036cece\nmov     rdi, rax                                                       ; +0x73, 0x10036ced3\nmov     rsi, r15                                                       ; +0x76, 0x10036ced6\ncall    cocos2d__CCTextureCache__removeTextureForKey                   ; +0x79, 0x10036ced9\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x7e, 0x10036cede\nmov     rdi, rax                                                       ; +0x83, 0x10036cee3\nmov     rsi, r12                                                       ; +0x86, 0x10036cee6\ncall    cocos2d__CCTextureCache__removeTextureForKey                   ; +0x89, 0x10036cee9\nmov     [r14+3D8h], ebx                                                ; +0x8e, 0x10036ceee\npop     rbx                                                            ; +0x95, 0x10036cef5\npop     r12                                                            ; +0x96, 0x10036cef6\npop     r14                                                            ; +0x98, 0x10036cef8\npop     r15                                                            ; +0x9a, 0x10036cefa\npop     rbp                                                            ; +0x9c, 0x10036cefc\nretn                                                                   ; +0x9d, 0x10036cefd", "xrefs": ["sub_10036CDE0 @ 0x10036ce0d", "GameManager::finishedLoadingGAsync2 @ 0x10036ce4d"], "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"}