{"type": "func", "start": 4297811808, "end": 4297811869, "name": "GJPromoPopup::onExit", "pseudocode": "// \n// GJPromoPopup::onExit from 0x1002b6760 to 0x1002b679d (61 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100903b08\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 __fastcall GJPromoPopup::onExit(GJPromoPopup *a1)\n{\n  cocos2d::CCTextureCache *v1; // rax\n  std::array<char, 23> *longStorage; // rbx\n\n  cocos2d::CCLayer::onExit(a1);\n  v1 = cocos2d::CCTextureCache::sharedTextureCache();\n  if ( (a1->m_promoFrame.m_data.m_short.sizex2 & 1) != 0 )\n    longStorage = (std::array<char, 23> *)a1->m_promoFrame.m_data.m_long.longStorage;\n  else\n    longStorage = &a1->m_promoFrame.m_data.m_short.shortStorage;\n  cocos2d::CCTextureCache::removeTextureForKey(v1, longStorage->__elems_);\n}", "assembly": "; \n; GJPromoPopup::onExit from 0x1002b6760 to 0x1002b679d (61 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100903b08\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    rbp                                                            ; +0x0, 0x1002b6760\nmov     rbp, rsp                                                       ; +0x1, 0x1002b6761\npush    rbx                                                            ; +0x4, 0x1002b6764\npush    rax                                                            ; +0x5, 0x1002b6765\nmov     rbx, rdi                                                       ; +0x6, 0x1002b6766\ncall    cocos2d__CCLayer__onExit                                       ; +0x9, 0x1002b6769\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0xe, 0x1002b676e\ntest    byte ptr [rbx+278h], 1                                         ; +0x13, 0x1002b6773\njnz     short loc_1002B6785                                            ; +0x1a, 0x1002b677a\nadd     rbx, 279h                                                      ; +0x1c, 0x1002b677c\njmp     short loc_1002B678C                                            ; +0x23, 0x1002b6783\nmov     rbx, [rbx+288h]                                                ; +0x25, 0x1002b6785\nmov     rdi, rax                                                       ; +0x2c, 0x1002b678c\nmov     rsi, rbx                                                       ; +0x2f, 0x1002b678f\nadd     rsp, 8                                                         ; +0x32, 0x1002b6792\npop     rbx                                                            ; +0x36, 0x1002b6796\npop     rbp                                                            ; +0x37, 0x1002b6797\njmp     cocos2d__CCTextureCache__removeTextureForKey                   ; +0x38, 0x1002b6798", "xrefs": ["<???> @ 0x100903b08"], "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"}