{"type": "func", "start": 4295520340, "end": 4295520436, "name": "DialogLayer::updateNavButtonFrame", "pseudocode": "// \n// DialogLayer::updateNavButtonFrame from 0x100087054 to 0x1000870b4 (96 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::init @ 0x100086c64\n// > DialogLayer::displayNextObject @ 0x100086d24\n// > DialogLayer::finishCurrentAnimation @ 0x100087290\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 DialogLayer::updateNavButtonFrame(DialogLayer *a1)\n{\n  cocos2d::CCArray *m_dialogObjects; // x0\n  const char *v3; // x19\n  cocos2d::CCSprite *m_navButtonSprite; // x20\n  cocos2d::CCSpriteFrameCache *v5; // x0\n  cocos2d::CCSpriteFrame *v6; // x1\n\n  m_dialogObjects = a1->m_dialogObjects;\n  v3 = \"GJ_chatBtn_02_001.png\";\n  if ( m_dialogObjects && (unsigned int)sub_10024A36C(m_dialogObjects) )\n    v3 = \"GJ_chatBtn_01_001.png\";\n  m_navButtonSprite = a1->m_navButtonSprite;\n  v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n  v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3);\n  ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_navButtonSprite->setDisplayFrame)(\n    m_navButtonSprite,\n    v6);\n}", "assembly": "; \n; DialogLayer::updateNavButtonFrame from 0x100087054 to 0x1000870b4 (96 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::init @ 0x100086c64\n; > DialogLayer::displayNextObject @ 0x100086d24\n; > DialogLayer::finishCurrentAnimation @ 0x100087290\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100087054\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100087058\nADD             X29, SP, #0x10                                         ; +0x8, 0x10008705c\nMOV             X20, X0                                                ; +0xc, 0x100087060\nLDR             X0, [X0,#0x250]                                        ; +0x10, 0x100087064\nADRL            X19, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"          ; +0x14, 0x100087068\nCBZ             X0, loc_100087088                                      ; +0x1c, 0x100087070\nBL              sub_10024A36C                                          ; +0x20, 0x100087074\nADRL            X8, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"           ; +0x24, 0x100087078\nCMP             W0, #0                                                 ; +0x2c, 0x100087080\nCSEL            X19, X19, X8, EQ                                       ; +0x30, 0x100087084\nLDR             X20, [X20,#0x260]                                      ; +0x34, 0x100087088\nBL              cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache    ; +0x38, 0x10008708c\nMOV             X1, X19                                                ; +0x3c, 0x100087090\nBL              cocos2d__CCSpriteFrameCache__spriteFrameByName         ; +0x40, 0x100087094\nMOV             X1, X0                                                 ; +0x44, 0x100087098\nLDR             X8, [X20]                                              ; +0x48, 0x10008709c\nLDR             X2, [X8,#0x478]                                        ; +0x4c, 0x1000870a0\nMOV             X0, X20                                                ; +0x50, 0x1000870a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1000870a8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1000870ac\nBR              X2                                                     ; +0x5c, 0x1000870b0", "xrefs": ["DialogLayer::init @ 0x100086c64", "DialogLayer::displayNextObject @ 0x100086d24", "DialogLayer::finishCurrentAnimation @ 0x100087290"], "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"}