{"type": "func", "start": 4295558340, "end": 4295558436, "name": "DialogLayer::updateNavButtonFrame", "pseudocode": "// \n// DialogLayer::updateNavButtonFrame from 0x1000904c4 to 0x100090524 (96 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::init @ 0x1000900d0\n// > DialogLayer::displayNextObject @ 0x100090190\n// > DialogLayer::finishCurrentAnimation @ 0x1000906f8\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:23 +0000\n// \n\n__int64 __fastcall DialogLayer::updateNavButtonFrame(__int64 a1)\n{\n  __int64 v2; // x0\n  const char *v3; // x19\n  __int64 v4; // x20\n  __int64 v5; // x0\n  __int64 v6; // x1\n\n  v2 = *(_QWORD *)(a1 + 592);\n  v3 = \"GJ_chatBtn_02_001.png\";\n  if ( v2 )\n  {\n    v2 = sub_1002E757C(v2);\n    if ( (_DWORD)v2 )\n      v3 = \"GJ_chatBtn_01_001.png\";\n  }\n  v4 = *(_QWORD *)(a1 + 608);\n  v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);\n  v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);\n}", "assembly": "; \n; DialogLayer::updateNavButtonFrame from 0x1000904c4 to 0x100090524 (96 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::init @ 0x1000900d0\n; > DialogLayer::displayNextObject @ 0x100090190\n; > DialogLayer::finishCurrentAnimation @ 0x1000906f8\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:23 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000904c4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000904c8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000904cc\nMOV             X20, X0                                                ; +0xc, 0x1000904d0\nLDR             X0, [X0,#0x250]                                        ; +0x10, 0x1000904d4\nADRL            X19, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"          ; +0x14, 0x1000904d8\nCBZ             X0, loc_1000904F8                                      ; +0x1c, 0x1000904e0\nBL              sub_1002E757C                                          ; +0x20, 0x1000904e4\nADRL            X8, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"           ; +0x24, 0x1000904e8\nCMP             W0, #0                                                 ; +0x2c, 0x1000904f0\nCSEL            X19, X19, X8, EQ                                       ; +0x30, 0x1000904f4\nLDR             X20, [X20,#0x260]                                      ; +0x34, 0x1000904f8\nBL              cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache    ; +0x38, 0x1000904fc\nMOV             X1, X19                                                ; +0x3c, 0x100090500\nBL              cocos2d__CCSpriteFrameCache__spriteFrameByName         ; +0x40, 0x100090504\nMOV             X1, X0                                                 ; +0x44, 0x100090508\nLDR             X8, [X20]                                              ; +0x48, 0x10009050c\nLDR             X2, [X8,#0x488]                                        ; +0x4c, 0x100090510\nMOV             X0, X20                                                ; +0x50, 0x100090514\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100090518\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x10009051c\nBR              X2                                                     ; +0x5c, 0x100090520", "xrefs": ["DialogLayer::init @ 0x1000900d0", "DialogLayer::displayNextObject @ 0x100090190", "DialogLayer::finishCurrentAnimation @ 0x1000906f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}