{"type": "func", "start": 13340684, "end": 13340916, "name": "EmotePickerPopup::openAt", "pseudocode": "// \n// EmotePickerPopup::openAt from 0xcb900c to 0xcb90f4 (232 bytes)\n// \n// 3 xrefs:\n// > EmotePickerPopup::toggle @ 0xcb9f14\n// > EmotePickerPopup::togglePicker @ 0xcba444\n// > <???> @ 0x101d58\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 13:06:13 +0000\n// \n\n_QWORD *__fastcall EmotePickerPopup::openAt(_QWORD *a1, __int64 a2, EmotePickerPopup *this)\n{\n  const cocos2d::CCSize *v4; // x0\n  __int64 v7; // [xsp+48h] [xbp+48h] BYREF\n  float v8; // [xsp+50h] [xbp+50h] BYREF\n  float v9; // [xsp+54h] [xbp+54h]\n  _BYTE v10[16]; // [xsp+58h] [xbp+58h] BYREF\n\n  if ( a1 )\n  {\n    a1[148] = a2;\n    EmotePickerPopup::buttonAnchor(this, &v7);\n    v4 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(EmotePickerPopup *))(*(_QWORD *)this + 328LL))(this);\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v8, v4);\n    cocos2d::CCRect::CCRect(\n      (cocos2d::CCRect *)v10,\n      (float)(*(float *)&v7 - (float)(v8 * 0.5)) - 4.0,\n      (float)(*((float *)&v7 + 1) - (float)(v9 * 0.5)) - 4.0,\n      v8 + 8.0,\n      v9 + 8.0);\n    cocos2d::CCRect::operator=(a1 + 149, v10);\n    (*(void (__fastcall **)(_QWORD *))(*a1 + 1312LL))(a1);\n  }\n  return a1;\n}", "assembly": "; \n; EmotePickerPopup::openAt from 0xcb900c to 0xcb90f4 (232 bytes)\n; \n; 3 xrefs:\n; > EmotePickerPopup::toggle @ 0xcb9f14\n; > EmotePickerPopup::togglePicker @ 0xcba444\n; > <???> @ 0x101d58\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 13:06:13 +0000\n; \nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0xcb900c\nMOV             X29, SP                                                ; +0x4, 0xcb9010\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0xcb9014\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xcb9018\nMOV             X19, X0                                                ; +0x10, 0xcb901c\nSTR             X21, [SP,#0x70+var_50]                                 ; +0x14, 0xcb9020\nLDR             X0, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xcb9024\nLDR             X0, [X0]                                               ; +0x1c, 0xcb9028\nSTR             X0, [X29,#0x70+var_8]                                  ; +0x20, 0xcb902c\nCBZ             X19, loc_CB90C8                                        ; +0x24, 0xcb9030\nADD             X8, X29, #0x70+var_28                                  ; +0x28, 0xcb9034\nMOV             X0, X2; this                                           ; +0x2c, 0xcb9038\nSTR             X1, [X19,#0x4A0]                                       ; +0x30, 0xcb903c\nADD             X21, X29, #0x70+var_18                                 ; +0x34, 0xcb9040\nSTR             X2, [X29,#0x70+var_38]                                 ; +0x38, 0xcb9044\nBL              _ZN16EmotePickerPopup12buttonAnchorEPN7cocos2d6CCNodeE; EmotePickerPopup::buttonAnchor(cocos2d::CCNode *) ; +0x3c, 0xcb9048\nLDR             X2, [X29,#0x70+var_38]                                 ; +0x40, 0xcb904c\nMOV             X0, X2                                                 ; +0x44, 0xcb9050\nLDR             X1, [X2]                                               ; +0x48, 0xcb9054\nLDR             X1, [X1,#0x148]                                        ; +0x4c, 0xcb9058\nBLR             X1                                                     ; +0x50, 0xcb905c\nMOV             X1, X0; cocos2d::CCSize *                              ; +0x54, 0xcb9060\nADD             X0, X29, #0x70+var_20; this                            ; +0x58, 0xcb9064\nBL              _ZN7cocos2d6CCSizeC1ERKS0_; cocos2d::CCSize::CCSize(cocos2d::CCSize const&) ; +0x5c, 0xcb9068\nSTR             X21, [X29,#0x70+var_38]                                ; +0x60, 0xcb906c\nLDR             S5, [X29,#0x70+var_1C]                                 ; +0x64, 0xcb9070\nMOV             X0, X21; this                                          ; +0x68, 0xcb9074\nLDR             S2, [X29,#0x70+var_20]                                 ; +0x6c, 0xcb9078\nLDR             S3, [X29,#0x70+var_24]                                 ; +0x70, 0xcb907c\nFMOV            S1, #0.5                                               ; +0x74, 0xcb9080\nLDR             S0, [X29,#0x70+var_28]                                 ; +0x78, 0xcb9084\nFMOV            S4, #4.0                                               ; +0x7c, 0xcb9088\nFMSUB           S0, S2, S1, S0                                         ; +0x80, 0xcb908c\nFMSUB           S1, S5, S1, S3                                         ; +0x84, 0xcb9090\nFMOV            S3, #8.0                                               ; +0x88, 0xcb9094\nFADD            S2, S2, S3; float                                      ; +0x8c, 0xcb9098\nFADD            S3, S5, S3; float                                      ; +0x90, 0xcb909c\nFSUB            S0, S0, S4; float                                      ; +0x94, 0xcb90a0\nFSUB            S1, S1, S4; float                                      ; +0x98, 0xcb90a4\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x9c, 0xcb90a8\nLDR             X1, [X29,#0x70+var_38]                                 ; +0xa0, 0xcb90ac\nADD             X0, X19, #0x4A8                                        ; +0xa4, 0xcb90b0\nBL              _ZN7cocos2d6CCRectaSERKS0_; cocos2d::CCRect::operator=(cocos2d::CCRect const&) ; +0xa8, 0xcb90b4\nLDR             X1, [X19]                                              ; +0xac, 0xcb90b8\nMOV             X0, X19                                                ; +0xb0, 0xcb90bc\nLDR             X1, [X1,#0x520]                                        ; +0xb4, 0xcb90c0\nBLR             X1                                                     ; +0xb8, 0xcb90c4\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xbc, 0xcb90c8\nMOV             X0, X19                                                ; +0xc0, 0xcb90cc\nLDR             X2, [X29,#0x70+var_8]                                  ; +0xc4, 0xcb90d0\nLDR             X1, [X20]                                              ; +0xc8, 0xcb90d4\nCMP             X2, X1                                                 ; +0xcc, 0xcb90d8\nB.NE            loc_CB90F0                                             ; +0xd0, 0xcb90dc\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0xd4, 0xcb90e0\nLDR             X21, [SP,#0x70+var_50]                                 ; +0xd8, 0xcb90e4\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0xdc, 0xcb90e8\nRET                                                                    ; +0xe0, 0xcb90ec\nBL              .__stack_chk_fail                                      ; +0xe4, 0xcb90f0", "xrefs": ["EmotePickerPopup::toggle @ 0xcb9f14", "EmotePickerPopup::togglePicker @ 0xcba444", "<???> @ 0x101d58"], "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"}