{"type": "func", "start": 4800368, "end": 4801050, "name": "CreatorLayer::onTreasureRoom", "pseudocode": "// \n// CreatorLayer::onTreasureRoom from 0x493f70 to 0x49421a (682 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:40 +0000\n// \n\nint __fastcall CreatorLayer::onTreasureRoom(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  GameStatsManager *v3; // r0\n  GameManager *Stat; // r10\n  GameManager *v5; // r0\n  cocos2d::CCDirector *UGV; // r0\n  cocos2d::CCDirector *v7; // r4\n  bool v8; // r1\n  float v9; // r0\n  cocos2d::CCScene *v10; // r2\n  cocos2d::CCScene *v11; // r0\n  cocos2d::CCArray *v13; // r10\n  cocos2d::CCObject *v14; // r0\n  cocos2d::CCObject *v15; // r0\n  cocos2d::CCObject *v16; // r0\n  int v17; // r2\n  _DWORD *v18; // r0\n  _DWORD *v19; // r4\n  const char *v20; // r1\n  __int16 *v21; // r2\n  cocos2d::CCString *v22; // r0\n  char *CString; // r0\n  DialogLayer *v24; // r0\n  int v25; // r2\n  DialogLayer *v26; // r9\n  int v27; // [sp+4h] [bp-2Ch]\n  int v28; // [sp+4h] [bp-2Ch]\n  int v29; // [sp+4h] [bp-2Ch]\n  int v30[3]; // [sp+8h] [bp-28h] BYREF\n  int v31; // [sp+14h] [bp-1Ch] BYREF\n  int v32; // [sp+18h] [bp-18h]\n  int v33; // [sp+1Ch] [bp-14h]\n  int v34; // [sp+20h] [bp-10h] BYREF\n  int v35; // [sp+24h] [bp-Ch]\n  int v36; // [sp+28h] [bp-8h]\n\n  v3 = (GameStatsManager *)GameStatsManager::sharedState(this);\n  Stat = (GameManager *)GameStatsManager::getStat(v3, \"21\");\n  v5 = (GameManager *)GameManager::sharedState(Stat);\n  UGV = (cocos2d::CCDirector *)GameManager::getUGV(v5, (char *)&a1i2r3e45s789g[7]);\n  if ( UGV )\n  {\n    v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(UGV);\n    v9 = COERCE_FLOAT(SecretRewardsLayer::scene(nullptr, v8));\n    v11 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v9, v10);\n    return cocos2d::CCDirector::replaceScene(v7, v11);\n  }\n  else if ( (int)Stat <= 4 )\n  {\n    memset(v30, 0, sizeof(v30));\n    std::string::__init(v30, \"Bring me <cy>5</c> <cg>keys</c>,<d020>\\nand I will let you pass.\", 0x3Fu);\n    v20 = (const char *)(5 - (_DWORD)Stat);\n    if ( (int)Stat > 0 )\n    {\n      if ( v20 == (_BYTE *)&dword_0 + 1 )\n        v21 = (__int16 *)&unk_B6B226;\n      else\n        v21 = &a1i2r3e45s789g[8];\n      v22 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                   (cocos2d::CCString *)\"Collect <cy>%i</c> more <cg>key%s</c>,<d020>\\n\"\n                                                        \"and I will let you pass.\",\n                                   v20,\n                                   v21);\n      CString = (char *)cocos2d::CCString::getCString(v22);\n      std::string::assign(v30, CString);\n    }\n    v31 = 0;\n    v32 = 0;\n    v33 = 0;\n    std::string::__init(&v31, \"The Keymaster\", 0xDu);\n    std::string::basic_string(&v34, (int)v30);\n    LOWORD(v27) = -1;\n    BYTE2(v27) = -1;\n    v24 = (DialogLayer *)DialogObject::create(&v31, &v34, 2, 1065353216, 0, v27);\n    v26 = (DialogLayer *)DialogLayer::create(v24, (DialogObject *)((char *)&dword_0 + 2), v25);\n    std::string::~string((int)&v34);\n    std::string::~string((int)&v31);\n    (*(void (__fastcall **)(CreatorLayer *, DialogLayer *, int))(*(_DWORD *)this + 232))(this, v26, 100);\n    DialogLayer::updateChatPlacement(v26, 0);\n    DialogLayer::animateInRandomSide(v26);\n    return std::string::~string((int)v30);\n  }\n  else\n  {\n    v31 = 0;\n    v32 = 0;\n    v33 = 0;\n    v13 = (cocos2d::CCArray *)cocos2d::CCArray::create(nullptr);\n    std::string::__init(&v31, \"The Keymaster\", 0xDu);\n    v34 = 0;\n    v35 = 0;\n    v36 = 0;\n    std::string::__init(&v34, \"Well, well, well.<d035>\\nLook who it is.\", 0x27u);\n    LOWORD(v27) = -1;\n    BYTE2(v27) = -1;\n    v14 = (cocos2d::CCObject *)DialogObject::create(&v31, &v34, 2, 1065353216, 0, v27);\n    cocos2d::CCArray::addObject(v13, v14);\n    std::string::~string((int)&v34);\n    std::string::~string((int)&v31);\n    v31 = 0;\n    v32 = 0;\n    v33 = 0;\n    std::string::__init(&v31, \"The Keymaster\", 0xDu);\n    v34 = 0;\n    v35 = 0;\n    v36 = 0;\n    std::string::__init(&v34, \"I see you have the <cg>keys</c>.<d040>\\nBut what comes next?\", 0x3Bu);\n    LOWORD(v28) = -1;\n    BYTE2(v28) = -1;\n    v15 = (cocos2d::CCObject *)DialogObject::create(&v31, &v34, 2, 1065353216, 0, v28);\n    cocos2d::CCArray::addObject(v13, v15);\n    std::string::~string((int)&v34);\n    std::string::~string((int)&v31);\n    v31 = 0;\n    v32 = 0;\n    v33 = 0;\n    std::string::__init(&v31, \"The Keymaster\", 0xDu);\n    v34 = 0;\n    v35 = 0;\n    v36 = 0;\n    std::string::__init(&v34, \"The <co>door</c> is open.<d040>\\nTime to find out<d010>.<d010>.<d010>.\", 0x45u);\n    LOWORD(v29) = -1;\n    BYTE2(v29) = -1;\n    v16 = (cocos2d::CCObject *)DialogObject::create(&v31, &v34, 2, 1065353216, 0, v29);\n    cocos2d::CCArray::addObject(v13, v16);\n    std::string::~string((int)&v34);\n    std::string::~string((int)&v31);\n    v18 = (_DWORD *)DialogLayer::createWithObjects(v13, (cocos2d::CCArray *)((char *)&dword_0 + 2), v17);\n    v18[122] = (char *)this + 320;\n    v19 = v18;\n    (*(void (__fastcall **)(_DWORD *, _DWORD))(*v18 + 36))(v18, 0);\n    (*(void (__fastcall **)(CreatorLayer *, _DWORD *, int))(*(_DWORD *)this + 232))(this, v19, 100);\n    DialogLayer::updateChatPlacement(v19, 0);\n    return DialogLayer::animateIn(v19, 2);\n  }\n}", "assembly": "; \n; CreatorLayer::onTreasureRoom from 0x493f70 to 0x49421a (682 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:40 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x493f70\nSUB             SP, SP, #0x30                                          ; +0x4, 0x493f74\nLDR             R7, =(__stack_chk_guard_ptr - 0x493F7E)                ; +0x6, 0x493f76\nMOV             R8, R0                                                 ; +0x8, 0x493f78\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xa, 0x493f7a\nLDR             R7, [R7]; __stack_chk_guard                            ; +0xc, 0x493f7c\nLDR             R3, [R7]                                               ; +0xe, 0x493f7e\nSTR             R3, [SP,#0x30+var_4]                                   ; +0x10, 0x493f80\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x12, 0x493f82\nLDR             R1, =(a21 - 0x493F8C); \"21\"                            ; +0x16, 0x493f86\nADD             R1, PC; \"21\"                                           ; +0x18, 0x493f88\nBL              _ZN16GameStatsManager7getStatEPKc; GameStatsManager::getStat(char const*) ; +0x1a, 0x493f8a\nMOV             R10, R0                                                ; +0x1e, 0x493f8e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x493f90\nLDR             R1, =(a1i2r3e45s789g+0xE - 0x493F9A); \"5s789g\"         ; +0x24, 0x493f94\nADD             R1, PC; \"5s789g\" ; char *                              ; +0x26, 0x493f96\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0x28, 0x493f98\nMOV             R6, R0                                                 ; +0x2c, 0x493f9c\nCBZ             R0, loc_493FC0                                         ; +0x2e, 0x493f9e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x493fa0\nMOV             R4, R0                                                 ; +0x34, 0x493fa4\nMOVS            R0, #0; this                                           ; +0x36, 0x493fa6\nBL              _ZN18SecretRewardsLayer5sceneEb; SecretRewardsLayer::scene(bool) ; +0x38, 0x493fa8\nMOV             R1, R0; float                                          ; +0x3c, 0x493fac\nMOV.W           R0, #0x3F000000; this                                  ; +0x3e, 0x493fae\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x42, 0x493fb2\nMOV             R1, R0; lpsrc                                          ; +0x46, 0x493fb6\nMOV             R0, R4; this                                           ; +0x48, 0x493fb8\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x4a, 0x493fba\nB               loc_494208                                             ; +0x4e, 0x493fbe\nCMP.W           R10, #4                                                ; +0x50, 0x493fc0\nADD             R4, SP, #0x30+var_1C                                   ; +0x54, 0x493fc4\nADD             R5, SP, #0x30+var_10                                   ; +0x56, 0x493fc6\nADD.W           R9, SP, #0x30+var_2C                                   ; +0x58, 0x493fc8\nBLE.W           loc_49411E                                             ; +0x5c, 0x493fcc\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x60, 0x493fd0\nLDR             R1, =(aTheKeymaster - 0x493FDE); \"The Keymaster\"       ; +0x64, 0x493fd4\nMOVS            R2, #0xD                                               ; +0x66, 0x493fd6\nSTR             R6, [SP,#0x30+var_1C]                                  ; +0x68, 0x493fd8\nADD             R1, PC; \"The Keymaster\"                                ; +0x6a, 0x493fda\nSTR             R6, [SP,#0x30+var_18]                                  ; +0x6c, 0x493fdc\nSTR             R6, [SP,#0x30+var_14]                                  ; +0x6e, 0x493fde\nMOV             R10, R0                                                ; +0x70, 0x493fe0\nMOV             R0, R4                                                 ; +0x72, 0x493fe2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x74, 0x493fe4\nLDR             R1, =(aWellWellWellD0 - 0x493FF2); \"Well, well, well.<d035>\\nLook who it is\"... ; +0x78, 0x493fe8\nMOV             R0, R5                                                 ; +0x7a, 0x493fea\nMOVS            R2, #0x27 ; '''                                        ; +0x7c, 0x493fec\nADD             R1, PC; \"Well, well, well.<d035>\\nLook who it is\"...   ; +0x7e, 0x493fee\nSTR             R6, [SP,#0x30+var_10]                                  ; +0x80, 0x493ff0\nSTR             R6, [SP,#0x30+var_C]                                   ; +0x82, 0x493ff2\nSTR             R6, [SP,#0x30+var_8]                                   ; +0x84, 0x493ff4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x86, 0x493ff6\nMOVS            R3, #0                                                 ; +0x8a, 0x493ffa\nSTR             R3, [SP,#0x30+var_30]                                  ; +0x8c, 0x493ffc\nLDR             R3, =(word_BEBFC0 - 0x494008)                          ; +0x8e, 0x493ffe\nMOV             R0, R4                                                 ; +0x90, 0x494000\nMOV             R1, R5                                                 ; +0x92, 0x494002\nADD             R3, PC; word_BEBFC0                                    ; +0x94, 0x494004\nLDRH            R2, [R3]                                               ; +0x96, 0x494006\nLDRB            R3, [R3,#(byte_BEBFC2 - 0xBEBFC0)]                     ; +0x98, 0x494008\nSTRH.W          R2, [SP,#0x30+var_2C]                                  ; +0x9a, 0x49400a\nMOVS            R2, #2                                                 ; +0x9e, 0x49400e\nSTRB.W          R3, [R9,#2]                                            ; +0xa0, 0x494010\nMOV.W           R3, #0x3F800000                                        ; +0xa4, 0x494014\nBL              _ZN12DialogObject6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ifbN7cocos2d10_ccColor3BE; DialogObject::create(std::string,std::string,int,float,bool,cocos2d::_ccColor3B) ; +0xa8, 0x494018\nMOV             R1, R0; cocos2d::CCObject *                            ; +0xac, 0x49401c\nMOV             R0, R10; this                                          ; +0xae, 0x49401e\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0xb0, 0x494020\nMOV             R0, R5                                                 ; +0xb4, 0x494024\nMOVS            R6, #0                                                 ; +0xb6, 0x494026\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb8, 0x494028\nMOV             R0, R4                                                 ; +0xbc, 0x49402c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xbe, 0x49402e\nLDR             R1, =(aTheKeymaster - 0x49403C); \"The Keymaster\"       ; +0xc2, 0x494032\nMOV             R0, R4                                                 ; +0xc4, 0x494034\nMOVS            R2, #0xD                                               ; +0xc6, 0x494036\nADD             R1, PC; \"The Keymaster\"                                ; +0xc8, 0x494038\nSTR             R6, [SP,#0x30+var_1C]                                  ; +0xca, 0x49403a\nSTR             R6, [SP,#0x30+var_18]                                  ; +0xcc, 0x49403c\nSTR             R6, [SP,#0x30+var_14]                                  ; +0xce, 0x49403e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xd0, 0x494040\nLDR             R1, =(aISeeYouHaveThe - 0x494050); \"I see you have the <cg>keys</c>.<d040>\"... ; +0xd4, 0x494044\nMOV             R0, R5                                                 ; +0xd6, 0x494046\nMOVS            R2, #0x3B ; ';'                                        ; +0xd8, 0x494048\nSTR             R6, [SP,#0x30+var_10]                                  ; +0xda, 0x49404a\nADD             R1, PC; \"I see you have the <cg>keys</c>.<d040>\"...    ; +0xdc, 0x49404c\nSTR             R6, [SP,#0x30+var_C]                                   ; +0xde, 0x49404e\nSTR             R6, [SP,#0x30+var_8]                                   ; +0xe0, 0x494050\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xe2, 0x494052\nLDR             R3, =(word_BEBFC0 - 0x494062)                          ; +0xe6, 0x494056\nMOV             R0, R4                                                 ; +0xe8, 0x494058\nSTR             R6, [SP,#0x30+var_30]                                  ; +0xea, 0x49405a\nMOV             R1, R5                                                 ; +0xec, 0x49405c\nADD             R3, PC; word_BEBFC0                                    ; +0xee, 0x49405e\nLDRH            R2, [R3]                                               ; +0xf0, 0x494060\nLDRB            R3, [R3,#(byte_BEBFC2 - 0xBEBFC0)]                     ; +0xf2, 0x494062\nSTRH.W          R2, [SP,#0x30+var_2C]                                  ; +0xf4, 0x494064\nMOVS            R2, #2                                                 ; +0xf8, 0x494068\nSTRB.W          R3, [R9,#2]                                            ; +0xfa, 0x49406a\nMOV.W           R3, #0x3F800000                                        ; +0xfe, 0x49406e\nBL              _ZN12DialogObject6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ifbN7cocos2d10_ccColor3BE; DialogObject::create(std::string,std::string,int,float,bool,cocos2d::_ccColor3B) ; +0x102, 0x494072\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x106, 0x494076\nMOV             R0, R10; this                                          ; +0x108, 0x494078\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x10a, 0x49407a\nMOV             R0, R5                                                 ; +0x10e, 0x49407e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x110, 0x494080\nMOV             R0, R4                                                 ; +0x114, 0x494084\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x116, 0x494086\nLDR             R1, =(aTheKeymaster - 0x494094); \"The Keymaster\"       ; +0x11a, 0x49408a\nMOV             R0, R4                                                 ; +0x11c, 0x49408c\nMOVS            R2, #0xD                                               ; +0x11e, 0x49408e\nADD             R1, PC; \"The Keymaster\"                                ; +0x120, 0x494090\nSTR             R6, [SP,#0x30+var_1C]                                  ; +0x122, 0x494092\nSTR             R6, [SP,#0x30+var_18]                                  ; +0x124, 0x494094\nSTR             R6, [SP,#0x30+var_14]                                  ; +0x126, 0x494096\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x128, 0x494098\nLDR             R1, =(aTheCoDoorCIsOp - 0x4940A8); \"The <co>door</c> is open.<d040>\\nTime t\"... ; +0x12c, 0x49409c\nMOV             R0, R5                                                 ; +0x12e, 0x49409e\nMOVS            R2, #0x45 ; 'E'                                        ; +0x130, 0x4940a0\nSTR             R6, [SP,#0x30+var_10]                                  ; +0x132, 0x4940a2\nADD             R1, PC; \"The <co>door</c> is open.<d040>\\nTime t\"...   ; +0x134, 0x4940a4\nSTR             R6, [SP,#0x30+var_C]                                   ; +0x136, 0x4940a6\nSTR             R6, [SP,#0x30+var_8]                                   ; +0x138, 0x4940a8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x13a, 0x4940aa\nLDR             R3, =(word_BEBFC0 - 0x4940BA)                          ; +0x13e, 0x4940ae\nMOV             R0, R4                                                 ; +0x140, 0x4940b0\nSTR             R6, [SP,#0x30+var_30]                                  ; +0x142, 0x4940b2\nMOV             R1, R5                                                 ; +0x144, 0x4940b4\nADD             R3, PC; word_BEBFC0                                    ; +0x146, 0x4940b6\nLDRH            R2, [R3]                                               ; +0x148, 0x4940b8\nLDRB            R3, [R3,#(byte_BEBFC2 - 0xBEBFC0)]                     ; +0x14a, 0x4940ba\nSTRH.W          R2, [SP,#0x30+var_2C]                                  ; +0x14c, 0x4940bc\nMOVS            R2, #2                                                 ; +0x150, 0x4940c0\nSTRB.W          R3, [R9,#2]                                            ; +0x152, 0x4940c2\nMOV.W           R3, #0x3F800000                                        ; +0x156, 0x4940c6\nBL              _ZN12DialogObject6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ifbN7cocos2d10_ccColor3BE; DialogObject::create(std::string,std::string,int,float,bool,cocos2d::_ccColor3B) ; +0x15a, 0x4940ca\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x15e, 0x4940ce\nMOV             R0, R10; this                                          ; +0x160, 0x4940d0\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x162, 0x4940d2\nMOV             R0, R5                                                 ; +0x166, 0x4940d6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x168, 0x4940d8\nMOV             R0, R4                                                 ; +0x16c, 0x4940dc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x16e, 0x4940de\nMOV             R0, R10; this                                          ; +0x172, 0x4940e2\nMOVS            R1, #(dword_0+2); cocos2d::CCArray *                   ; +0x174, 0x4940e4\nBL              _ZN11DialogLayer17createWithObjectsEPN7cocos2d7CCArrayEi; DialogLayer::createWithObjects(cocos2d::CCArray *,int) ; +0x176, 0x4940e6\nADD.W           R3, R8, #0x140                                         ; +0x17a, 0x4940ea\nMOV             R1, R6                                                 ; +0x17e, 0x4940ee\nSTR.W           R3, [R0,#0x1E8]                                        ; +0x180, 0x4940f0\nMOV             R4, R0                                                 ; +0x184, 0x4940f4\nLDR             R3, [R0]                                               ; +0x186, 0x4940f6\nLDR             R3, [R3,#0x24]                                         ; +0x188, 0x4940f8\nBLX             R3                                                     ; +0x18a, 0x4940fa\nLDR.W           R3, [R8]                                               ; +0x18c, 0x4940fc\nMOV             R0, R8                                                 ; +0x190, 0x494100\nMOV             R1, R4                                                 ; +0x192, 0x494102\nMOVS            R2, #0x64 ; 'd'                                        ; +0x194, 0x494104\nLDR.W           R3, [R3,#0xE8]                                         ; +0x196, 0x494106\nBLX             R3                                                     ; +0x19a, 0x49410a\nMOV             R0, R4                                                 ; +0x19c, 0x49410c\nMOV             R1, R6                                                 ; +0x19e, 0x49410e\nBL              _ZN11DialogLayer19updateChatPlacementE19DialogChatPlacement; DialogLayer::updateChatPlacement(DialogChatPlacement) ; +0x1a0, 0x494110\nMOV             R0, R4                                                 ; +0x1a4, 0x494114\nMOVS            R1, #2                                                 ; +0x1a6, 0x494116\nBL              _ZN11DialogLayer9animateInE19DialogAnimationType; DialogLayer::animateIn(DialogAnimationType) ; +0x1a8, 0x494118\nB               loc_494208                                             ; +0x1ac, 0x49411c\nADD             R6, SP, #0x30+var_28                                   ; +0x1ae, 0x49411e\nLDR             R1, =(aBringMeCy5CCgK - 0x49412C); \"Bring me <cy>5</c> <cg>keys</c>,<d020>\"... ; +0x1b0, 0x494120\nSTR             R0, [SP,#0x30+var_28]                                  ; +0x1b2, 0x494122\nMOVS            R2, #0x3F ; '?'                                        ; +0x1b4, 0x494124\nSTR             R0, [SP,#0x30+var_24]                                  ; +0x1b6, 0x494126\nADD             R1, PC; \"Bring me <cy>5</c> <cg>keys</c>,<d020>\"...    ; +0x1b8, 0x494128\nSTR             R0, [SP,#0x30+var_20]                                  ; +0x1ba, 0x49412a\nMOV             R0, R6                                                 ; +0x1bc, 0x49412c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x1be, 0x49412e\nCMP.W           R10, #0                                                ; +0x1c2, 0x494132\nRSB.W           R1, R10, #5; char *                                    ; +0x1c6, 0x494136\nBGT             loc_494152                                             ; +0x1ca, 0x49413a\nLDR             R1, =(aTheKeymaster - 0x494148); \"The Keymaster\"       ; +0x1cc, 0x49413c\nMOV             R0, R4                                                 ; +0x1ce, 0x49413e\nMOVS            R2, #0xD                                               ; +0x1d0, 0x494140\nMOVS            R3, #0                                                 ; +0x1d2, 0x494142\nADD             R1, PC; \"The Keymaster\"                                ; +0x1d4, 0x494144\nSTR             R3, [SP,#0x30+var_1C]                                  ; +0x1d6, 0x494146\nSTR             R3, [SP,#0x30+var_18]                                  ; +0x1d8, 0x494148\nSTR             R3, [SP,#0x30+var_14]                                  ; +0x1da, 0x49414a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x1dc, 0x49414c\nB               loc_494176                                             ; +0x1e0, 0x494150\nCMP             R1, #1                                                 ; +0x1e2, 0x494152\nBNE             loc_49415C                                             ; +0x1e4, 0x494154\nLDR             R2, =(unk_B6B226 - 0x49415C)                           ; +0x1e6, 0x494156\nADD             R2, PC; unk_B6B226                                     ; +0x1e8, 0x494158\nB               loc_494160                                             ; +0x1ea, 0x49415a\nLDR             R2, =(a1i2r3e45s789g+0x10 - 0x494162); \"s789g\"         ; +0x1ec, 0x49415c\nADD             R2, PC; \"s789g\"                                        ; +0x1ee, 0x49415e\nLDR             R0, =(aCollectCyICMor - 0x494166); \"Collect <cy>%i</c> more <cg>key%s</c>,<\"... ; +0x1f0, 0x494160\nADD             R0, PC; \"Collect <cy>%i</c> more <cg>key%s</c>,<\"...   ; +0x1f2, 0x494162\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1f4, 0x494164\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x1f8, 0x494168\nMOV             R1, R0; char *                                         ; +0x1fc, 0x49416c\nMOV             R0, R6; int                                            ; +0x1fe, 0x49416e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x200, 0x494170\nB               loc_49413C                                             ; +0x204, 0x494174\nMOV             R0, R5                                                 ; +0x206, 0x494176\nMOV             R1, R6                                                 ; +0x208, 0x494178\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x20a, 0x49417a\nMOVS            R3, #0                                                 ; +0x20e, 0x49417e\nSTR             R3, [SP,#0x30+var_30]                                  ; +0x210, 0x494180\nLDR             R3, =(word_BEBFC0 - 0x49418C)                          ; +0x212, 0x494182\nMOV             R0, R4                                                 ; +0x214, 0x494184\nMOV             R1, R5                                                 ; +0x216, 0x494186\nADD             R3, PC; word_BEBFC0                                    ; +0x218, 0x494188\nLDRH            R2, [R3]                                               ; +0x21a, 0x49418a\nLDRB            R3, [R3,#(byte_BEBFC2 - 0xBEBFC0)]                     ; +0x21c, 0x49418c\nSTRH.W          R2, [SP,#0x30+var_2C]                                  ; +0x21e, 0x49418e\nMOVS            R2, #2                                                 ; +0x222, 0x494192\nSTRB.W          R3, [R9,#2]                                            ; +0x224, 0x494194\nMOV.W           R3, #0x3F800000                                        ; +0x228, 0x494198\nBL              _ZN12DialogObject6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ifbN7cocos2d10_ccColor3BE; DialogObject::create(std::string,std::string,int,float,bool,cocos2d::_ccColor3B) ; +0x22c, 0x49419c\nMOVS            R1, #(dword_0+2); DialogObject *                       ; +0x230, 0x4941a0\nBL              _ZN11DialogLayer6createEP12DialogObjecti; DialogLayer::create(DialogObject *,int) ; +0x232, 0x4941a2\nMOV             R9, R0                                                 ; +0x236, 0x4941a6\nMOV             R0, R5                                                 ; +0x238, 0x4941a8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x23a, 0x4941aa\nMOV             R0, R4                                                 ; +0x23e, 0x4941ae\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x240, 0x4941b0\nLDR.W           R3, [R8]                                               ; +0x244, 0x4941b4\nMOV             R0, R8                                                 ; +0x248, 0x4941b8\nMOV             R1, R9                                                 ; +0x24a, 0x4941ba\nMOVS            R2, #0x64 ; 'd'                                        ; +0x24c, 0x4941bc\nLDR.W           R3, [R3,#0xE8]                                         ; +0x24e, 0x4941be\nBLX             R3                                                     ; +0x252, 0x4941c2\nMOV             R0, R9                                                 ; +0x254, 0x4941c4\nMOVS            R1, #0                                                 ; +0x256, 0x4941c6\nBL              _ZN11DialogLayer19updateChatPlacementE19DialogChatPlacement; DialogLayer::updateChatPlacement(DialogChatPlacement) ; +0x258, 0x4941c8\nMOV             R0, R9; this                                           ; +0x25c, 0x4941cc\nBL              _ZN11DialogLayer19animateInRandomSideEv; DialogLayer::animateInRandomSide(void) ; +0x25e, 0x4941ce\nMOV             R0, R6                                                 ; +0x262, 0x4941d2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x264, 0x4941d4\nB               loc_494208                                             ; +0x268, 0x4941d8\nB               loc_4941E2                                             ; +0x26a, 0x4941da\nB               loc_4941EA                                             ; +0x26c, 0x4941dc\nB               loc_4941E2                                             ; +0x26e, 0x4941de\nB               loc_4941EA                                             ; +0x270, 0x4941e0\nMOV             R0, R5                                                 ; +0x272, 0x4941e2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x274, 0x4941e4\nB               loc_4941EA                                             ; +0x278, 0x4941e8\nMOV             R0, R4                                                 ; +0x27a, 0x4941ea\nB               loc_494200                                             ; +0x27c, 0x4941ec\nMOV             R0, R5                                                 ; +0x27e, 0x4941ee\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x280, 0x4941f0\nB               loc_4941F6                                             ; +0x284, 0x4941f4\nMOV             R0, R4                                                 ; +0x286, 0x4941f6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x288, 0x4941f8\nB               loc_4941FE                                             ; +0x28c, 0x4941fc\nMOV             R0, R6                                                 ; +0x28e, 0x4941fe\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x290, 0x494200\nBL              __cxa_end_cleanup                                      ; +0x294, 0x494204\nLDR             R2, [SP,#0x30+var_4]                                   ; +0x298, 0x494208\nLDR             R3, [R7]                                               ; +0x29a, 0x49420a\nCMP             R2, R3                                                 ; +0x29c, 0x49420c\nBEQ             loc_494214                                             ; +0x29e, 0x49420e\nBLX             __stack_chk_fail                                       ; +0x2a0, 0x494210\nADD             SP, SP, #0x30 ; '0'                                    ; +0x2a4, 0x494214\nPOP.W           {R4-R10,PC}                                            ; +0x2a6, 0x494216", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}