{"type": "func", "start": 5371481936, "end": 5371481992, "name": "GJPromoPopup::onExit", "pseudocode": "// \n// GJPromoPopup::onExit from 0x1402a4f50 to 0x1402a4f88 (56 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140579e08\n// > <???> @ 0x1406d2054\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\nvoid GJPromoPopup::onExit(GJPromoPopup *a1)\n{\n  std::string *p_m_promoFrame; // rbx\n  cocos2d::CCTextureCache *v3; // rax\n\n  cocos2d::CCLayer::onExit(a1);\n  p_m_promoFrame = &a1->m_promoFrame;\n  if ( p_m_promoFrame->m_data.m_capacity > 0xF )\n    p_m_promoFrame = (std::string *)p_m_promoFrame->m_data.m_bigStorage;\n  v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache();\n  cocos2d::CCTextureCache::removeTextureForKey(v3, p_m_promoFrame->m_data.m_smallStorage._Elems);\n}", "assembly": "; \n; GJPromoPopup::onExit from 0x1402a4f50 to 0x1402a4f88 (56 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140579e08\n; > <???> @ 0x1406d2054\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\npush    rbx                                                            ; +0x0, 0x1402a4f50\nsub     rsp, 20h                                                       ; +0x2, 0x1402a4f52\nmov     rbx, rcx                                                       ; +0x6, 0x1402a4f56\ncall    cs:__imp_?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x9, 0x1402a4f59\nadd     rbx, 278h                                                      ; +0xf, 0x1402a4f5f\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x16, 0x1402a4f66\njbe     short loc_1402A4F70                                            ; +0x1b, 0x1402a4f6b\nmov     rbx, [rbx]                                                     ; +0x1d, 0x1402a4f6d\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x20, 0x1402a4f70\nmov     rcx, rax                                                       ; +0x26, 0x1402a4f76\nmov     rdx, rbx                                                       ; +0x29, 0x1402a4f79\nadd     rsp, 20h                                                       ; +0x2c, 0x1402a4f7c\npop     rbx                                                            ; +0x30, 0x1402a4f80\njmp     cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0x31, 0x1402a4f81", "xrefs": ["<???> @ 0x140579e08", "<???> @ 0x1406d2054"], "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"}