{"type": "func", "start": 4297738208, "end": 4297738269, "name": "GJPromoPopup::onExit", "pseudocode": "// \n// GJPromoPopup::onExit from 0x1002a47e0 to 0x1002a481d (61 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b0ac48\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:55 +0000\n// \n\n__int64 __fastcall GJPromoPopup::onExit(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rbx\n\n  cocos2d::CCLayer::onExit(a1);\n  v1 = cocos2d::CCTextureCache::sharedTextureCache(a1);\n  if ( (*(_BYTE *)(a1 + 664) & 1) != 0 )\n    v2 = *(_QWORD *)(a1 + 680);\n  else\n    v2 = a1 + 665;\n  return cocos2d::CCTextureCache::removeTextureForKey(v1, v2);\n}", "assembly": "; \n; GJPromoPopup::onExit from 0x1002a47e0 to 0x1002a481d (61 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b0ac48\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:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002a47e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002a47e1\npush    rbx                                                            ; +0x4, 0x1002a47e4\npush    rax                                                            ; +0x5, 0x1002a47e5\nmov     rbx, rdi                                                       ; +0x6, 0x1002a47e6\ncall    cocos2d__CCLayer__onExit                                       ; +0x9, 0x1002a47e9\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0xe, 0x1002a47ee\ntest    byte ptr [rbx+298h], 1                                         ; +0x13, 0x1002a47f3\njnz     short loc_1002A4805                                            ; +0x1a, 0x1002a47fa\nadd     rbx, 299h                                                      ; +0x1c, 0x1002a47fc\njmp     short loc_1002A480C                                            ; +0x23, 0x1002a4803\nmov     rbx, [rbx+2A8h]                                                ; +0x25, 0x1002a4805\nmov     rdi, rax                                                       ; +0x2c, 0x1002a480c\nmov     rsi, rbx                                                       ; +0x2f, 0x1002a480f\nadd     rsp, 8                                                         ; +0x32, 0x1002a4812\npop     rbx                                                            ; +0x36, 0x1002a4816\npop     rbp                                                            ; +0x37, 0x1002a4817\njmp     cocos2d__CCTextureCache__removeTextureForKey                   ; +0x38, 0x1002a4818", "xrefs": ["<???> @ 0x100b0ac48"], "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"}