{"type": "func", "start": 4903792, "end": 4904894, "name": "FriendRequestPopup::init", "pseudocode": "// \n// FriendRequestPopup::init from 0x4ad370 to 0x4ad7be (1102 bytes)\n// \n// 1 xrefs:\n// > FriendRequestPopup::create @ 0x4ad84c\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\nbool FriendRequestPopup::init(FriendRequestPopup *a1, GJFriendRequest *a2)\n{\n  cocos2d::CCDirector *v4; // r0\n  cocos2d::CCLayer *v5; // r0\n  FriendRequestPopup_vtbl *v6; // r3\n  cocos2d::CCNode *v7; // r7\n  void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // r10\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r10\n  cocos2d::CCMenu *v10; // r0\n  cocos2d::CCLabelBMFont *v11; // r10\n  void (__fastcall *v12)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7\n  GameLevelManager *v13; // r0\n  int v14; // r3\n  cocos2d::CCLabelBMFont *v15; // r6\n  int v16; // r11\n  LoadingCircle *v17; // r0\n  cocos2d::CCLayer *m_mainLayer; // r3\n  LoadingCircle *m_circle; // r0\n  cocos2d::CCSprite *m_sprite; // r6\n  void (__fastcall *v21)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r11\n  cocos2d::CCSprite *v22; // r6\n  CCMenuItemSpriteExtra *v23; // r0\n  CCMenuItemSpriteExtra *m_closeBtn; // r10\n  void (__fastcall *v25)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11\n  cocos2d::CCNode *v26; // r6\n  cocos2d::CCNode_vtbl *v27; // r3\n  int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // r3\n  float v30; // r2\n  float v31; // r3\n  int v32; // [sp+Ch] [bp-58h]\n  cocos2d::CCPoint *v33; // [sp+10h] [bp-54h]\n  cocos2d::CCMenu *m_buttonMenu; // [sp+10h] [bp-54h]\n  char v35; // [sp+18h] [bp-4Ch] BYREF\n  _BYTE v36[2]; // [sp+19h] [bp-4Bh] BYREF\n  char v37; // [sp+1Ch] [bp-48h] BYREF\n  cocos2d::CCLabelBMFont *v38; // [sp+20h] [bp-44h] BYREF\n  cocos2d::CCSize v39; // [sp+24h] [bp-40h] BYREF\n  cocos2d::CCPoint v40; // [sp+2Ch] [bp-38h] BYREF\n  void (*v41)(FriendRequestPopup *, cocos2d::CCObject *); // [sp+34h] [bp-30h]\n  int v42; // [sp+38h] [bp-2Ch]\n  cocos2d::CCRect v43; // [sp+3Ch] [bp-28h] BYREF\n  cocos2d::CCRect v44; // [sp+4Ch] [bp-18h] BYREF\n  cocos2d::CCSize v45; // 0:^0.8\n  cocos2d::CCRect v46; // 0:kr00_16.16\n  cocos2d::CCRect v47; // 0:r2.8,8:^0.8\n\n  if ( a2\n    && (v44.origin.x = -1.034e-25,\n        (v32 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::_ccColor4B *)&v44)) != 0) )\n  {\n    FLAlertLayer::incrementForcePrio(a1);\n    a1->setTouchEnabled(a1, 1);\n    a1->setKeypadEnabled(a1, 1);\n    v4 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(&v39, v4);\n    v5 = cocos2d::CCLayer::create();\n    v6 = a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_mainLayer = v5;\n    v6->addChild(a1, v5);\n    cocos2d::CCRect::CCRect(&v44, 0.0, 0.0, 80.0, 80.0);\n    v46.origin.x = v30;\n    v46.origin.y = v31;\n    v46.size = v45;\n    v7 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create(\n                              (cocos2d::extension::CCScale9Sprite *)\"GJ_square02.png\",\n                              (const char *)&v44,\n                              v46);\n    ((void (__fastcall *)(cocos2d::CCNode *, int))v7->__vftable[1].~CCNode_0)(v7, 255);\n    setContentSize = v7->setContentSize;\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v44, 340.0, 190.0);\n    setContentSize(v7, (const cocos2d::CCSize *)&v44);\n    a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, -1);\n    setPosition = v7->setPosition;\n    cocos2d::CCPoint::CCPoint(&v44.origin, v39.width * 0.5, v39.height * 0.5);\n    setPosition(v7, &v44.origin);\n    v10 = cocos2d::CCMenu::create();\n    a1->m_buttonMenu = v10;\n    a1->m_mainLayer->addChild_0(a1->m_mainLayer, v10, 10);\n    a1->m_joystickConnected = -1;\n    v11 = cocos2d::CCLabelBMFont::create();\n    v12 = v11->setPosition;\n    cocos2d::CCPoint::CCPoint(&v44.origin, v39.width * 0.5, (float)((float)(v39.height * 0.5) + 95.0) - 16.0);\n    v12(v11, &v44.origin);\n    a1->m_mainLayer->addChild(a1->m_mainLayer, v11);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v11->setScale)(v11, 1058642330);\n    v13 = GameLevelManager::sharedState();\n    GameLevelManager::tryGetUsername((GameLevelManager *)&v37, (GameLevelManager_vtbl *)v13, a2->m_accountID, v14);\n    sub_776584((int)&v38, \"From: \");\n    sub_77441C(&v38, &v37);\n    v15 = cocos2d::CCLabelBMFont::create();\n    v33 = (cocos2d::CCPoint *)v15->setPosition;\n    v16 = (int)v11->getPosition(v11);\n    cocos2d::CCPoint::CCPoint(&v43.origin, 0.0, -20.0);\n    cocos2d::CCPoint::operator+(&v44, v16, &v43);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, cocos2d::CCRect *))v33)(v15, &v44);\n    a1->m_mainLayer->addChild(a1->m_mainLayer, v15);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v15->setScale)(v15, 1058642330);\n    v17 = LoadingCircle::create();\n    m_mainLayer = a1->m_mainLayer;\n    a1->m_circle = v17;\n    v17->m_parentLayer = m_mainLayer;\n    m_circle = a1->m_circle;\n    m_circle->m_fade = 0;\n    ((void (__fastcall *)(LoadingCircle *, int))m_circle->setScale)(m_circle, 1061997773);\n    LoadingCircle::show(a1->m_circle);\n    m_sprite = a1->m_circle->m_sprite;\n    v21 = m_sprite->setPosition;\n    cocos2d::CCPoint::CCPoint(&v44.origin, v39.width * 0.5, (float)(v39.height * 0.5) - 4.0);\n    v21(m_sprite, &v44.origin);\n    a1->m_circle->setVisible(a1->m_circle, 0);\n    v22 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_closeBtn_001.png\");\n    ((void (__fastcall *)(cocos2d::CCSprite *, int))v22->setScale)(v22, 1061997773);\n    v41 = FriendRequestPopup::onClose;\n    v42 = 0;\n    v23 = CCMenuItemSpriteExtra::create(\n            v22,\n            nullptr,\n            (cocos2d::SEL_MenuHandler)__PAIR64__(FriendRequestPopup::onClose, (unsigned int)a1));\n    a1->m_closeBtn = v23;\n    CCMenuItemSpriteExtra::setSizeMult(v23, 1.6);\n    a1->m_buttonMenu->addChild(a1->m_buttonMenu, a1->m_closeBtn);\n    m_closeBtn = a1->m_closeBtn;\n    v25 = m_closeBtn->setPosition;\n    m_buttonMenu = a1->m_buttonMenu;\n    cocos2d::CCPoint::CCPoint(\n      &v43.origin,\n      (float)((float)(v39.width * 0.5) - 170.0) + 5.0,\n      (float)((float)(v39.height * 0.5) + 95.0) - 5.0);\n    cocos2d::CCNode::convertToNodeSpace(&v44.origin, m_buttonMenu, &v43.origin);\n    v25(m_closeBtn, &v44.origin);\n    cocos2d::CCPoint::CCPoint(&v40, v39.width * 0.5, (float)(v39.height * 0.5) - 4.0);\n    cocos2d::CCRect::CCRect(&v43, 0.0, 0.0, 80.0, 80.0);\n    cocos2d::CCRect::CCRect(&v44, &v43);\n    v26 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create(\n                               (cocos2d::extension::CCScale9Sprite *)\"square02b_001.png\",\n                               (const char *)&v44,\n                               v47);\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v44, 290.0, 80.0);\n    v26->setContentSize(v26, (const cocos2d::CCSize *)&v44);\n    a1->m_mainLayer->addChild_0(a1->m_mainLayer, v26, -1);\n    v26->setPosition(v26, &v40);\n    v27 = v26->__vftable;\n    v35 = -126;\n    getTag = v27[1].getTag;\n    qmemcpy(v36, \"@!\", sizeof(v36));\n    ((void (__fastcall *)(cocos2d::CCNode *, char *))getTag)(v26, &v35);\n    ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::ccColor3B *))v26->__vftable[1].getTag)(v26, &stru_9AC15C);\n    ((void (__fastcall *)(cocos2d::CCNode *, int))v26->__vftable[1].~CCNode_0)(v26, 75);\n    FriendRequestPopup::loadFromGJFriendRequest(a1, a2);\n    sub_774008(&v38);\n    sub_774008(&v37);\n  }\n  else\n  {\n    LOBYTE(v32) = 0;\n  }\n  return v32;\n}", "assembly": "; \n; FriendRequestPopup::init from 0x4ad370 to 0x4ad7be (1102 bytes)\n; \n; 1 xrefs:\n; > FriendRequestPopup::create @ 0x4ad84c\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x4AD37A)                ; +0x0, 0x4ad370\nPUSH.W          {R4-R11,LR}                                            ; +0x2, 0x4ad372\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x4ad376\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x4ad378\nVPUSH           {D8-D9}                                                ; +0xa, 0x4ad37a\nMOV             R4, R0                                                 ; +0xe, 0x4ad37e\nLDR             R2, [R3]                                               ; +0x10, 0x4ad380\nMOV             R9, R1                                                 ; +0x12, 0x4ad382\nSUB             SP, SP, #0x64                                          ; +0x14, 0x4ad384\nSTR             R2, [SP,#0x64+var_8]                                   ; +0x16, 0x4ad386\nSTR             R3, [SP,#0x64+var_50]                                  ; +0x18, 0x4ad388\nCBNZ            R1, loc_4AD398                                         ; +0x1a, 0x4ad38a\nMOVS            R3, #0                                                 ; +0x1c, 0x4ad38c\nSTR             R3, [SP,#0x64+var_58]                                  ; +0x1e, 0x4ad38e\nB               loc_4AD792                                             ; +0x20, 0x4ad390\nALIGN 4                                                                ; +0x22, 0x4ad392\nDCD __stack_chk_guard_ptr - 0x4AD37A                                   ; +0x24, 0x4ad394\nADD             R5, SP, #0x64+var_18                                   ; +0x28, 0x4ad398\nMOVS            R3, #0                                                 ; +0x2a, 0x4ad39a\nSTRB.W          R3, [SP,#0x64+var_18]                                  ; +0x2c, 0x4ad39c\nMOV             R1, R5                                                 ; +0x30, 0x4ad3a0\nSTRB.W          R3, [SP,#0x64+var_17]                                  ; +0x32, 0x4ad3a2\nSTRB.W          R3, [SP,#0x64+var_16]                                  ; +0x36, 0x4ad3a6\nMOVS            R3, #0x96                                              ; +0x3a, 0x4ad3aa\nSTRB.W          R3, [SP,#0x64+var_15]                                  ; +0x3c, 0x4ad3ac\nBL              _ZN7cocos2d12CCLayerColor13initWithColorERKNS_10_ccColor4BE; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const&) ; +0x40, 0x4ad3b0\nSTR             R0, [SP,#0x64+var_58]                                  ; +0x44, 0x4ad3b4\nCMP             R0, #0                                                 ; +0x46, 0x4ad3b6\nBEQ             loc_4AD38C                                             ; +0x48, 0x4ad3b8\nMOV             R0, R4; this                                           ; +0x4a, 0x4ad3ba\nLDR             R6, =0x42A00000                                        ; +0x4c, 0x4ad3bc\nBL              _ZN12FLAlertLayer18incrementForcePrioEv; FLAlertLayer::incrementForcePrio(void) ; +0x4e, 0x4ad3be\nLDR             R3, [R4]                                               ; +0x52, 0x4ad3c2\nMOV             R0, R4                                                 ; +0x54, 0x4ad3c4\nMOVS            R1, #1                                                 ; +0x56, 0x4ad3c6\nVMOV.F32        S16, #0.5                                              ; +0x58, 0x4ad3c8\nADD.W           R8, SP, #0x64+var_48                                   ; +0x5c, 0x4ad3cc\nLDR.W           R3, [R3,#0x1EC]                                        ; +0x60, 0x4ad3d0\nVMOV            S18, R6                                                ; +0x64, 0x4ad3d4\nBLX             R3                                                     ; +0x68, 0x4ad3d8\nLDR             R3, [R4]                                               ; +0x6a, 0x4ad3da\nMOVS            R1, #1                                                 ; +0x6c, 0x4ad3dc\nMOV             R0, R4                                                 ; +0x6e, 0x4ad3de\nVLDR            S17, =95.0                                             ; +0x70, 0x4ad3e0\nLDR.W           R3, [R3,#0x210]                                        ; +0x74, 0x4ad3e4\nBLX             R3                                                     ; +0x78, 0x4ad3e8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x7a, 0x4ad3ea\nMOV             R1, R0                                                 ; +0x7e, 0x4ad3ee\nADD             R0, SP, #0x64+var_40; this                             ; +0x80, 0x4ad3f0\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x82, 0x4ad3f2\nBL              _ZN7cocos2d7CCLayer6createEv; cocos2d::CCLayer::create(void) ; +0x86, 0x4ad3f6\nLDR             R3, [R4]                                               ; +0x8a, 0x4ad3fa\nMOV             R1, R0                                                 ; +0x8c, 0x4ad3fc\nSTR.W           R0, [R4,#0x1C8]                                        ; +0x8e, 0x4ad3fe\nMOV             R0, R4                                                 ; +0x92, 0x4ad402\nLDR.W           R3, [R3,#0xDC]                                         ; +0x94, 0x4ad404\nBLX             R3                                                     ; +0x98, 0x4ad408\nMOVS            R1, #0; float                                          ; +0x9a, 0x4ad40a\nMOV             R2, R1; float                                          ; +0x9c, 0x4ad40c\nMOV             R3, R6; float                                          ; +0x9e, 0x4ad40e\nSTR             R6, [SP,#0x64+var_64]; float                           ; +0xa0, 0x4ad410\nMOV             R0, R5; this                                           ; +0xa2, 0x4ad412\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xa4, 0x4ad414\nLDR             R0, =(aGjSquare02Png - 0x4AD420); \"GJ_square02.png\"    ; +0xa8, 0x4ad418\nMOV             R1, R5                                                 ; +0xaa, 0x4ad41a\nADD             R0, PC; \"GJ_square02.png\"                              ; +0xac, 0x4ad41c\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0xae, 0x4ad41e\nMOVS            R1, #0xFF                                              ; +0xb2, 0x4ad422\nLDR             R3, [R0]                                               ; +0xb4, 0x4ad424\nMOV             R7, R0                                                 ; +0xb6, 0x4ad426\nLDR.W           R3, [R3,#0x1C0]                                        ; +0xb8, 0x4ad428\nBLX             R3                                                     ; +0xbc, 0x4ad42c\nLDR             R3, [R7]                                               ; +0xbe, 0x4ad42e\nLDR             R2, flt_4AD710; float                                  ; +0xc0, 0x4ad430\nMOV             R0, R5; this                                           ; +0xc2, 0x4ad432\nLDR             R1, flt_4AD714; float                                  ; +0xc4, 0x4ad434\nLDR.W           R10, [R3,#0x98]                                        ; +0xc6, 0x4ad436\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0xca, 0x4ad43a\nMOV             R0, R7                                                 ; +0xce, 0x4ad43e\nMOV             R1, R5                                                 ; +0xd0, 0x4ad440\nBLX             R10                                                    ; +0xd2, 0x4ad442\nLDR.W           R0, [R4,#0x1C8]                                        ; +0xd4, 0x4ad444\nMOV             R1, R7                                                 ; +0xd8, 0x4ad448\nMOV.W           R2, #0xFFFFFFFF                                        ; +0xda, 0x4ad44a\nLDR             R3, [R0]                                               ; +0xde, 0x4ad44e\nLDR.W           R3, [R3,#0xE0]                                         ; +0xe0, 0x4ad450\nBLX             R3                                                     ; +0xe4, 0x4ad454\nVLDR            S15, [SP,#0x64+var_40]                                 ; +0xe6, 0x4ad456\nLDR             R3, [R7]                                               ; +0xea, 0x4ad45a\nMOV             R0, R5; this                                           ; +0xec, 0x4ad45c\nVMUL.F32        S15, S15, S16                                          ; +0xee, 0x4ad45e\nLDR.W           R10, [R3,#0x5C]                                        ; +0xf2, 0x4ad462\nVMOV            R1, S15; float                                         ; +0xf6, 0x4ad466\nVLDR            S15, [SP,#0x64+var_3C]                                 ; +0xfa, 0x4ad46a\nVMUL.F32        S15, S15, S16                                          ; +0xfe, 0x4ad46e\nVMOV            R2, S15; float                                         ; +0x102, 0x4ad472\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x106, 0x4ad476\nMOV             R0, R7                                                 ; +0x10a, 0x4ad47a\nMOV             R1, R5                                                 ; +0x10c, 0x4ad47c\nBLX             R10                                                    ; +0x10e, 0x4ad47e\nBL              _ZN7cocos2d6CCMenu6createEv; cocos2d::CCMenu::create(void) ; +0x110, 0x4ad480\nMOVS            R2, #0xA                                               ; +0x114, 0x4ad484\nMOV             R1, R0                                                 ; +0x116, 0x4ad486\nSTR.W           R0, [R4,#0x1B8]                                        ; +0x118, 0x4ad488\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x11c, 0x4ad48c\nLDR             R3, [R0]                                               ; +0x120, 0x4ad490\nLDR.W           R3, [R3,#0xE0]                                         ; +0x122, 0x4ad492\nBLX             R3                                                     ; +0x126, 0x4ad496\nLDR             R0, =(aFriendRequest - 0x4AD4A4); \"Friend Request\"     ; +0x128, 0x4ad498\nLDR             R1, =(aBigfontFnt - 0x4AD4AA); \"bigFont.fnt\"           ; +0x12a, 0x4ad49a\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x12c, 0x4ad49c\nADD             R0, PC; \"Friend Request\"                               ; +0x130, 0x4ad4a0\nSTR.W           R3, [R4,#0x1E8]                                        ; +0x132, 0x4ad4a2\nADD             R1, PC; \"bigFont.fnt\"                                  ; +0x136, 0x4ad4a6\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x138, 0x4ad4a8\nVLDR            S15, [SP,#0x64+var_3C]                                 ; +0x13c, 0x4ad4ac\nVMOV.F32        S14, S17                                               ; +0x140, 0x4ad4b0\nVMLA.F32        S14, S15, S16                                          ; +0x144, 0x4ad4b4\nVLDR            S15, [SP,#0x64+var_40]                                 ; +0x148, 0x4ad4b8\nVMUL.F32        S15, S15, S16                                          ; +0x14c, 0x4ad4bc\nLDR             R3, [R0]                                               ; +0x150, 0x4ad4c0\nMOV             R10, R0                                                ; +0x152, 0x4ad4c2\nMOV             R0, R5; this                                           ; +0x154, 0x4ad4c4\nLDR             R7, [R3,#0x5C]                                         ; +0x156, 0x4ad4c6\nVMOV            R1, S15; float                                         ; +0x158, 0x4ad4c8\nVMOV.F32        S15, #16.0                                             ; +0x15c, 0x4ad4cc\nVSUB.F32        S15, S14, S15                                          ; +0x160, 0x4ad4d0\nVMOV            R2, S15; float                                         ; +0x164, 0x4ad4d4\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x168, 0x4ad4d8\nMOV             R0, R10                                                ; +0x16c, 0x4ad4dc\nMOV             R1, R5                                                 ; +0x16e, 0x4ad4de\nBLX             R7                                                     ; +0x170, 0x4ad4e0\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x172, 0x4ad4e2\nMOV             R1, R10                                                ; +0x176, 0x4ad4e6\nADD             R7, SP, #0x64+var_44                                   ; +0x178, 0x4ad4e8\nLDR             R3, [R0]                                               ; +0x17a, 0x4ad4ea\nLDR.W           R3, [R3,#0xDC]                                         ; +0x17c, 0x4ad4ec\nBLX             R3                                                     ; +0x180, 0x4ad4f0\nLDR.W           R3, [R10]                                              ; +0x182, 0x4ad4f2\nLDR             R1, =0x3F19999A                                        ; +0x186, 0x4ad4f6\nMOV             R0, R10                                                ; +0x188, 0x4ad4f8\nLDR             R3, [R3,#0x50]                                         ; +0x18a, 0x4ad4fa\nBLX             R3                                                     ; +0x18c, 0x4ad4fc\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x18e, 0x4ad4fe\nLDR.W           R2, [R9,#0x10C]                                        ; +0x192, 0x4ad502\nMOV             R1, R0; GameLevelManager *                             ; +0x196, 0x4ad506\nMOV             R0, R8; this                                           ; +0x198, 0x4ad508\nBL              _ZN16GameLevelManager14tryGetUsernameEi; GameLevelManager::tryGetUsername(int) ; +0x19a, 0x4ad50a\nLDR             R1, =(aFrom_0 - 0x4AD518); \"From: \"                    ; +0x19e, 0x4ad50e\nMOV             R0, R7; int                                            ; +0x1a0, 0x4ad510\nMOV             R2, R5                                                 ; +0x1a2, 0x4ad512\nADD             R1, PC; \"From: \"                                       ; +0x1a4, 0x4ad514\nBL              sub_776584                                             ; +0x1a6, 0x4ad516\nMOV             R0, R7                                                 ; +0x1aa, 0x4ad51a\nMOV             R1, R8                                                 ; +0x1ac, 0x4ad51c\nBL              sub_77441C                                             ; +0x1ae, 0x4ad51e\nLDR             R1, =(aGoldfontFnt - 0x4AD52A); \"goldFont.fnt\"         ; +0x1b2, 0x4ad522\nLDR             R0, [SP,#0x64+var_44]; this                            ; +0x1b4, 0x4ad524\nADD             R1, PC; \"goldFont.fnt\"                                 ; +0x1b6, 0x4ad526\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x1b8, 0x4ad528\nLDR             R3, [R0]                                               ; +0x1bc, 0x4ad52c\nMOV             R6, R0                                                 ; +0x1be, 0x4ad52e\nMOV             R0, R10                                                ; +0x1c0, 0x4ad530\nLDR             R3, [R3,#0x5C]                                         ; +0x1c2, 0x4ad532\nSTR             R3, [SP,#0x64+var_54]                                  ; +0x1c4, 0x4ad534\nLDR.W           R3, [R10]                                              ; +0x1c6, 0x4ad536\nLDR             R3, [R3,#0x60]                                         ; +0x1ca, 0x4ad53a\nBLX             R3                                                     ; +0x1cc, 0x4ad53c\nADD.W           R10, SP, #0x64+var_28                                  ; +0x1ce, 0x4ad53e\nMOV             R11, R0                                                ; +0x1d2, 0x4ad542\nMOVS            R1, #0; float                                          ; +0x1d4, 0x4ad544\nLDR             R2, flt_4AD71C; float                                  ; +0x1d6, 0x4ad546\nMOV             R0, R10; this                                          ; +0x1d8, 0x4ad548\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1da, 0x4ad54a\nMOV             R0, R5                                                 ; +0x1de, 0x4ad54e\nMOV             R1, R11                                                ; +0x1e0, 0x4ad550\nMOV             R2, R10                                                ; +0x1e2, 0x4ad552\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x1e4, 0x4ad554\nMOV             R0, R6                                                 ; +0x1e8, 0x4ad558\nMOV             R1, R5                                                 ; +0x1ea, 0x4ad55a\nLDR             R3, [SP,#0x64+var_54]                                  ; +0x1ec, 0x4ad55c\nBLX             R3                                                     ; +0x1ee, 0x4ad55e\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x1f0, 0x4ad560\nMOV             R1, R6                                                 ; +0x1f4, 0x4ad564\nLDR             R3, [R0]                                               ; +0x1f6, 0x4ad566\nLDR.W           R3, [R3,#0xDC]                                         ; +0x1f8, 0x4ad568\nBLX             R3                                                     ; +0x1fc, 0x4ad56c\nLDR             R3, [R6]                                               ; +0x1fe, 0x4ad56e\nMOV             R0, R6                                                 ; +0x200, 0x4ad570\nLDR             R1, =0x3F19999A                                        ; +0x202, 0x4ad572\nLDR             R3, [R3,#0x50]                                         ; +0x204, 0x4ad574\nBLX             R3                                                     ; +0x206, 0x4ad576\nBL              _ZN13LoadingCircle6createEv; LoadingCircle::create(void) ; +0x208, 0x4ad578\nLDR.W           R3, [R4,#0x1C8]                                        ; +0x20c, 0x4ad57c\nSTR.W           R0, [R4,#0x204]                                        ; +0x210, 0x4ad580\nLDR             R1, =0x3F4CCCCD                                        ; +0x214, 0x4ad584\nSTR.W           R3, [R0,#0x1BC]                                        ; +0x216, 0x4ad586\nMOVS            R3, #0                                                 ; +0x21a, 0x4ad58a\nLDR.W           R0, [R4,#0x204]                                        ; +0x21c, 0x4ad58c\nSTRB.W          R3, [R0,#0x1C0]                                        ; +0x220, 0x4ad590\nLDR             R3, [R0]                                               ; +0x224, 0x4ad594\nLDR             R3, [R3,#0x50]                                         ; +0x226, 0x4ad596\nBLX             R3                                                     ; +0x228, 0x4ad598\nLDR.W           R0, [R4,#0x204]; this                                  ; +0x22a, 0x4ad59a\nBL              _ZN13LoadingCircle4showEv; LoadingCircle::show(void)   ; +0x22e, 0x4ad59e\nVLDR            S15, [SP,#0x64+var_40]                                 ; +0x232, 0x4ad5a2\nMOV             R0, R5; this                                           ; +0x236, 0x4ad5a6\nLDR.W           R3, [R4,#0x204]                                        ; +0x238, 0x4ad5a8\nVMOV.F32        S19, #4.0                                              ; +0x23c, 0x4ad5ac\nLDR.W           R6, [R3,#0x1B8]                                        ; +0x240, 0x4ad5b0\nLDR             R3, [R6]                                               ; +0x244, 0x4ad5b4\nLDR.W           R11, [R3,#0x5C]                                        ; +0x246, 0x4ad5b6\nVMUL.F32        S15, S15, S16                                          ; +0x24a, 0x4ad5ba\nVMOV.F32        S14, S19                                               ; +0x24e, 0x4ad5be\nVMOV            R1, S15; float                                         ; +0x252, 0x4ad5c2\nVLDR            S15, [SP,#0x64+var_3C]                                 ; +0x256, 0x4ad5c6\nVNMLS.F32       S14, S15, S16                                          ; +0x25a, 0x4ad5ca\nVMOV            R2, S14; float                                         ; +0x25e, 0x4ad5ce\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x262, 0x4ad5d2\nMOV             R0, R6                                                 ; +0x266, 0x4ad5d6\nMOV             R1, R5                                                 ; +0x268, 0x4ad5d8\nBLX             R11                                                    ; +0x26a, 0x4ad5da\nLDR.W           R0, [R4,#0x204]                                        ; +0x26c, 0x4ad5dc\nMOVS            R1, #0                                                 ; +0x270, 0x4ad5e0\nLDR             R3, [R0]                                               ; +0x272, 0x4ad5e2\nLDR.W           R3, [R3,#0xA4]                                         ; +0x274, 0x4ad5e4\nBLX             R3                                                     ; +0x278, 0x4ad5e8\nLDR             R0, =(aGjClosebtn001P - 0x4AD5F0); \"GJ_closeBtn_001.png\" ; +0x27a, 0x4ad5ea\nADD             R0, PC; \"GJ_closeBtn_001.png\"                          ; +0x27c, 0x4ad5ec\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x27e, 0x4ad5ee\nLDR             R3, [R0]                                               ; +0x282, 0x4ad5f2\nMOV             R6, R0                                                 ; +0x284, 0x4ad5f4\nLDR             R1, =0x3F4CCCCD                                        ; +0x286, 0x4ad5f6\nLDR             R3, [R3,#0x50]                                         ; +0x288, 0x4ad5f8\nBLX             R3                                                     ; +0x28a, 0x4ad5fa\nLDR             R3, =(_ZN18FriendRequestPopup7onCloseEPN7cocos2d8CCObjectE_ptr - 0x4AD608) ; +0x28c, 0x4ad5fc\nMOVS            R1, #0                                                 ; +0x28e, 0x4ad5fe\nMOV             R0, R6                                                 ; +0x290, 0x4ad600\nSTR             R1, [SP,#0x64+var_64]; float                           ; +0x292, 0x4ad602\nADD             R3, PC; _ZN18FriendRequestPopup7onCloseEPN7cocos2d8CCObjectE_ptr ; +0x294, 0x4ad604\nLDR             R3, [R3]; FriendRequestPopup::onClose(cocos2d::CCObject *) ; +0x296, 0x4ad606\nMOV             R2, R4                                                 ; +0x298, 0x4ad608\nSTR             R3, [SP,#0x64+var_30]                                  ; +0x29a, 0x4ad60a\nSTR             R1, [SP,#0x64+var_2C]                                  ; +0x29c, 0x4ad60c\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x29e, 0x4ad60e\nSTR.W           R0, [R4,#0x208]                                        ; +0x2a2, 0x4ad612\nLDR             R1, flt_4AD724; float                                  ; +0x2a6, 0x4ad616\nBL              _ZN21CCMenuItemSpriteExtra11setSizeMultEf; CCMenuItemSpriteExtra::setSizeMult(float) ; +0x2a8, 0x4ad618\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x2ac, 0x4ad61c\nLDR.W           R1, [R4,#0x208]                                        ; +0x2b0, 0x4ad620\nLDR             R3, [R0]                                               ; +0x2b4, 0x4ad624\nLDR.W           R3, [R3,#0xDC]                                         ; +0x2b6, 0x4ad626\nBLX             R3                                                     ; +0x2ba, 0x4ad62a\nVLDR            S14, [SP,#0x64+var_40]                                 ; +0x2bc, 0x4ad62c\nADD             R6, SP, #0x64+var_28                                   ; +0x2c0, 0x4ad630\nLDR.W           R10, [R4,#0x208]                                       ; +0x2c2, 0x4ad632\nMOV             R0, R6; this                                           ; +0x2c6, 0x4ad636\nVLDR            S15, =170.0                                            ; +0x2c8, 0x4ad638\nLDR.W           R3, [R10]                                              ; +0x2cc, 0x4ad63c\nVLDR            S13, [SP,#0x64+var_3C]                                 ; +0x2d0, 0x4ad640\nLDR.W           R11, [R3,#0x5C]                                        ; +0x2d4, 0x4ad644\nLDR.W           R3, [R4,#0x1B8]                                        ; +0x2d8, 0x4ad648\nVNMLS.F32       S15, S14, S16                                          ; +0x2dc, 0x4ad64c\nSTR             R3, [SP,#0x64+var_54]                                  ; +0x2e0, 0x4ad650\nVMLA.F32        S17, S13, S16                                          ; +0x2e2, 0x4ad652\nVMOV.F32        S14, #5.0                                              ; +0x2e6, 0x4ad656\nVADD.F32        S15, S15, S14                                          ; +0x2ea, 0x4ad65a\nVMOV            R1, S15; float                                         ; +0x2ee, 0x4ad65e\nVSUB.F32        S15, S17, S14                                          ; +0x2f2, 0x4ad662\nVMOV            R2, S15; float                                         ; +0x2f6, 0x4ad666\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2fa, 0x4ad66a\nMOV             R0, R5; this                                           ; +0x2fe, 0x4ad66e\nLDR             R1, [SP,#0x64+var_54]; cocos2d::CCPoint *              ; +0x300, 0x4ad670\nMOV             R2, R6                                                 ; +0x302, 0x4ad672\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x304, 0x4ad674\nMOV             R0, R10                                                ; +0x308, 0x4ad678\nMOV             R1, R5                                                 ; +0x30a, 0x4ad67a\nBLX             R11                                                    ; +0x30c, 0x4ad67c\nVLDR            S15, [SP,#0x64+var_40]                                 ; +0x30e, 0x4ad67e\nADD.W           R11, SP, #0x64+var_38                                  ; +0x312, 0x4ad682\nMOV             R0, R11; this                                          ; +0x316, 0x4ad686\nVMUL.F32        S15, S15, S16                                          ; +0x318, 0x4ad688\nVMOV            R1, S15; float                                         ; +0x31c, 0x4ad68c\nVLDR            S15, [SP,#0x64+var_3C]                                 ; +0x320, 0x4ad690\nVNMLS.F32       S19, S15, S16                                          ; +0x324, 0x4ad694\nVMOV            R2, S19; float                                         ; +0x328, 0x4ad698\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x32c, 0x4ad69c\nMOVS            R1, #0; float                                          ; +0x330, 0x4ad6a0\nVSTR            S18, [SP,#0x64+var_64]                                 ; +0x332, 0x4ad6a2\nMOV             R0, R6; this                                           ; +0x336, 0x4ad6a6\nMOV             R2, R1; float                                          ; +0x338, 0x4ad6a8\nVMOV            R3, S18; float                                         ; +0x33a, 0x4ad6aa\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x33e, 0x4ad6ae\nMOV             R0, R5; this                                           ; +0x342, 0x4ad6b2\nMOV             R1, R6; cocos2d::CCRect *                              ; +0x344, 0x4ad6b4\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x346, 0x4ad6b6\nLDR             R0, =(aSquare02b001Pn - 0x4AD6C2); \"square02b_001.png\" ; +0x34a, 0x4ad6ba\nMOV             R1, R5                                                 ; +0x34c, 0x4ad6bc\nADD             R0, PC; \"square02b_001.png\"                            ; +0x34e, 0x4ad6be\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x350, 0x4ad6c0\nMOV             R6, R0                                                 ; +0x354, 0x4ad6c4\nLDR             R1, flt_4AD72C; float                                  ; +0x356, 0x4ad6c6\nMOV             R0, R5; this                                           ; +0x358, 0x4ad6c8\nVMOV            R2, S18; float                                         ; +0x35a, 0x4ad6ca\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x35e, 0x4ad6ce\nLDR             R3, [R6]                                               ; +0x362, 0x4ad6d2\nMOV             R0, R6                                                 ; +0x364, 0x4ad6d4\nMOV             R1, R5                                                 ; +0x366, 0x4ad6d6\nLDR.W           R3, [R3,#0x98]                                         ; +0x368, 0x4ad6d8\nBLX             R3                                                     ; +0x36c, 0x4ad6dc\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x36e, 0x4ad6de\nMOV             R1, R6                                                 ; +0x372, 0x4ad6e2\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x374, 0x4ad6e4\nLDR             R3, [R0]                                               ; +0x378, 0x4ad6e8\nLDR.W           R3, [R3,#0xE0]                                         ; +0x37a, 0x4ad6ea\nBLX             R3                                                     ; +0x37e, 0x4ad6ee\nLDR             R3, [R6]                                               ; +0x380, 0x4ad6f0\nMOV             R0, R6                                                 ; +0x382, 0x4ad6f2\nMOV             R1, R11                                                ; +0x384, 0x4ad6f4\nLDR             R3, [R3,#0x5C]                                         ; +0x386, 0x4ad6f6\nBLX             R3                                                     ; +0x388, 0x4ad6f8\nLDR             R3, [R6]                                               ; +0x38a, 0x4ad6fa\nMOVS            R2, #0x82                                              ; +0x38c, 0x4ad6fc\nMOV             R0, R6                                                 ; +0x38e, 0x4ad6fe\nSTRB.W          R2, [SP,#0x64+var_4C]                                  ; +0x390, 0x4ad700\nB               loc_4AD750                                             ; +0x394, 0x4ad704\nALIGN 4                                                                ; +0x396, 0x4ad706\nDCD 0x42A00000                                                         ; +0x398, 0x4ad708\nDCFS 95.0                                                              ; +0x39c, 0x4ad70c\nDCFS 190.0                                                             ; +0x3a0, 0x4ad710\nDCFS 340.0                                                             ; +0x3a4, 0x4ad714\nDCD 0x3F19999A                                                         ; +0x3a8, 0x4ad718\nDCFS -20.0                                                             ; +0x3ac, 0x4ad71c\nDCD 0x3F4CCCCD                                                         ; +0x3b0, 0x4ad720\nDCFS 1.6                                                               ; +0x3b4, 0x4ad724\nDCFS 170.0                                                             ; +0x3b8, 0x4ad728\nDCFS 290.0                                                             ; +0x3bc, 0x4ad72c\nDCD aGjSquare02Png - 0x4AD420                                          ; +0x3c0, 0x4ad730\nDCD aFriendRequest - 0x4AD4A4                                          ; +0x3c4, 0x4ad734\nDCD aBigfontFnt - 0x4AD4AA                                             ; +0x3c8, 0x4ad738\nDCD aFrom_0 - 0x4AD518                                                 ; +0x3cc, 0x4ad73c\nDCD aGoldfontFnt - 0x4AD52A                                            ; +0x3d0, 0x4ad740\nDCD aGjClosebtn001P - 0x4AD5F0                                         ; +0x3d4, 0x4ad744\nDCD _ZN18FriendRequestPopup7onCloseEPN7cocos2d8CCObjectE_ptr - 0x4AD608 ; +0x3d8, 0x4ad748\nDCD aSquare02b001Pn - 0x4AD6C2                                         ; +0x3dc, 0x4ad74c\nADD             R1, SP, #0x64+var_4C                                   ; +0x3e0, 0x4ad750\nMOVS            R2, #0x40 ; '@'                                        ; +0x3e2, 0x4ad752\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x3e4, 0x4ad754\nSTRB.W          R2, [SP,#0x64+var_4B]                                  ; +0x3e8, 0x4ad758\nMOVS            R2, #0x21 ; '!'                                        ; +0x3ec, 0x4ad75c\nSTRB.W          R2, [SP,#0x64+var_4A]                                  ; +0x3ee, 0x4ad75e\nBLX             R3                                                     ; +0x3f2, 0x4ad762\nLDR             R3, [R6]                                               ; +0x3f4, 0x4ad764\nMOV             R0, R6                                                 ; +0x3f6, 0x4ad766\nLDR             R1, =(stru_9AC15C - 0x4AD772)                          ; +0x3f8, 0x4ad768\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x3fa, 0x4ad76a\nADD             R1, PC; stru_9AC15C                                    ; +0x3fe, 0x4ad76e\nBLX             R3                                                     ; +0x400, 0x4ad770\nLDR             R3, [R6]                                               ; +0x402, 0x4ad772\nMOV             R0, R6                                                 ; +0x404, 0x4ad774\nMOVS            R1, #0x4B ; 'K'                                        ; +0x406, 0x4ad776\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x408, 0x4ad778\nBLX             R3                                                     ; +0x40c, 0x4ad77c\nMOV             R0, R4; this                                           ; +0x40e, 0x4ad77e\nMOV             R1, R9; GJFriendRequest *                              ; +0x410, 0x4ad780\nBL              _ZN18FriendRequestPopup23loadFromGJFriendRequestEP15GJFriendRequest; FriendRequestPopup::loadFromGJFriendRequest(GJFriendRequest *) ; +0x412, 0x4ad782\nADD             R0, SP, #0x64+var_44                                   ; +0x416, 0x4ad786\nBL              sub_774008                                             ; +0x418, 0x4ad788\nADD             R0, SP, #0x64+var_48                                   ; +0x41c, 0x4ad78c\nBL              sub_774008                                             ; +0x41e, 0x4ad78e\nLDR             R3, [SP,#0x64+var_50]                                  ; +0x422, 0x4ad792\nLDR             R2, [SP,#0x64+var_8]                                   ; +0x424, 0x4ad794\nLDR             R0, [SP,#0x64+var_58]                                  ; +0x426, 0x4ad796\nLDR             R3, [R3]                                               ; +0x428, 0x4ad798\nCMP             R2, R3                                                 ; +0x42a, 0x4ad79a\nBEQ             loc_4AD7B4                                             ; +0x42c, 0x4ad79c\nBLX             __stack_chk_fail                                       ; +0x42e, 0x4ad79e\nMOV             R0, R7                                                 ; +0x432, 0x4ad7a2\nBL              sub_774008                                             ; +0x434, 0x4ad7a4\nB               loc_4AD7AA                                             ; +0x438, 0x4ad7a8\nMOV             R0, R8                                                 ; +0x43a, 0x4ad7aa\nBL              sub_774008                                             ; +0x43c, 0x4ad7ac\nBL              __cxa_end_cleanup                                      ; +0x440, 0x4ad7b0\nADD             SP, SP, #0x64 ; 'd'                                    ; +0x444, 0x4ad7b4\nVPOP            {D8-D9}                                                ; +0x446, 0x4ad7b6\nPOP.W           {R4-R11,PC}                                            ; +0x44a, 0x4ad7ba", "xrefs": ["FriendRequestPopup::create @ 0x4ad84c"], "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"}