{"type": "func", "start": 5372801680, "end": 5372801810, "name": "SecretLayer2::updateMessageLabel", "pseudocode": "// \n// SecretLayer2::updateMessageLabel from 0x1403e7290 to 0x1403e7312 (130 bytes)\n// \n// 18 xrefs:\n// > SecretLayer2::init @ 0x1403e2db3\n// > SecretLayer2::onSubmit @ 0x1403e5777\n// > SecretLayer2::onSubmit @ 0x1403e598c\n// > SecretLayer2::onSubmit @ 0x1403e5d74\n// > SecretLayer2::onSubmit @ 0x1403e5f3c\n// > SecretLayer2::onSubmit @ 0x1403e620c\n// > SecretLayer2::onSubmit @ 0x1403e694a\n// > SecretLayer2::onSubmit @ 0x1403e6a77\n// > SecretLayer2::onSubmit @ 0x1403e6b01\n// > SecretLayer2::onSubmit @ 0x1403e6cb9\n// > SecretLayer2::onSubmit @ 0x1403e6cfb\n// > SecretLayer4::init @ 0x1403f052d\n// > SecretLayer4::onSubmit @ 0x1403f1440\n// > SecretLayer4::onSubmit @ 0x1403f179b\n// > SecretLayer4::onSubmit @ 0x1403f1f47\n// > SecretLayer4::onSubmit @ 0x1403f219d\n// > SecretLayer4::onSubmit @ 0x1403f21dc\n// > <???> @ 0x1406d7fa0\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\n// Merged with: SecretLayer2::updateMessageLabel, SecretLayer4::updateMessageLabel\nvoid __fastcall SecretLayer2::updateMessageLabel(__int64 a1, _QWORD *a2)\n{\n  __int64 v2; // rbx\n\n  v2 = (__int64)a2;\n  if ( a2[3] > 0xFu )\n    a2 = (_QWORD *)*a2;\n  (**(void (__fastcall ***)(__int64, _QWORD *))(*(_QWORD *)(a1 + 464) + 360LL))(*(_QWORD *)(a1 + 464) + 360LL, a2);\n  cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 464), 320.0, 0.60000002, 0.0);\n  sub_14003A830(v2);\n}", "assembly": "; \n; SecretLayer2::updateMessageLabel from 0x1403e7290 to 0x1403e7312 (130 bytes)\n; \n; 18 xrefs:\n; > SecretLayer2::init @ 0x1403e2db3\n; > SecretLayer2::onSubmit @ 0x1403e5777\n; > SecretLayer2::onSubmit @ 0x1403e598c\n; > SecretLayer2::onSubmit @ 0x1403e5d74\n; > SecretLayer2::onSubmit @ 0x1403e5f3c\n; > SecretLayer2::onSubmit @ 0x1403e620c\n; > SecretLayer2::onSubmit @ 0x1403e694a\n; > SecretLayer2::onSubmit @ 0x1403e6a77\n; > SecretLayer2::onSubmit @ 0x1403e6b01\n; > SecretLayer2::onSubmit @ 0x1403e6cb9\n; > SecretLayer2::onSubmit @ 0x1403e6cfb\n; > SecretLayer4::init @ 0x1403f052d\n; > SecretLayer4::onSubmit @ 0x1403f1440\n; > SecretLayer4::onSubmit @ 0x1403f179b\n; > SecretLayer4::onSubmit @ 0x1403f1f47\n; > SecretLayer4::onSubmit @ 0x1403f219d\n; > SecretLayer4::onSubmit @ 0x1403f21dc\n; > <???> @ 0x1406d7fa0\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1403e7290\npush    rdi                                                            ; +0x5, 0x1403e7295\nsub     rsp, 30h                                                       ; +0x6, 0x1403e7296\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1403e729a\nxor     rax, rsp                                                       ; +0x11, 0x1403e72a1\nmov     [rsp+38h+var_10], rax                                          ; +0x14, 0x1403e72a4\nmov     rbx, rdx                                                       ; +0x19, 0x1403e72a9\nmov     rdi, rcx                                                       ; +0x1c, 0x1403e72ac\nmov     [rsp+38h+var_18], rdx                                          ; +0x1f, 0x1403e72af\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x24, 0x1403e72b4\njbe     short loc_1403E72BE                                            ; +0x29, 0x1403e72b9\nmov     rdx, [rdx]                                                     ; +0x2b, 0x1403e72bb\nmov     rcx, [rcx+1D0h]                                                ; +0x2e, 0x1403e72be\nadd     rcx, 168h                                                      ; +0x35, 0x1403e72c5\nmov     rax, [rcx]                                                     ; +0x3c, 0x1403e72cc\ncall    qword ptr [rax]                                                ; +0x3f, 0x1403e72cf\nxorps   xmm3, xmm3                                                     ; +0x41, 0x1403e72d1\nmovss   xmm2, cs:dword_140622B38                                       ; +0x44, 0x1403e72d4\nmovss   xmm1, cs:dword_140623450                                       ; +0x4c, 0x1403e72dc\nmov     rcx, [rdi+1D0h]                                                ; +0x54, 0x1403e72e4\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x5b, 0x1403e72eb\nnop                                                                    ; +0x61, 0x1403e72f1\nmov     rcx, rbx                                                       ; +0x62, 0x1403e72f2\ncall    sub_14003A830                                                  ; +0x65, 0x1403e72f5\nmov     rcx, [rsp+38h+var_10]                                          ; +0x6a, 0x1403e72fa\nxor     rcx, rsp; StackCookie                                          ; +0x6f, 0x1403e72ff\ncall    __security_check_cookie                                        ; +0x72, 0x1403e7302\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x77, 0x1403e7307\nadd     rsp, 30h                                                       ; +0x7c, 0x1403e730c\npop     rdi                                                            ; +0x80, 0x1403e7310\nretn                                                                   ; +0x81, 0x1403e7311", "xrefs": ["SecretLayer2::init @ 0x1403e2db3", "SecretLayer2::onSubmit @ 0x1403e5777", "SecretLayer2::onSubmit @ 0x1403e598c", "SecretLayer2::onSubmit @ 0x1403e5d74", "SecretLayer2::onSubmit @ 0x1403e5f3c", "SecretLayer2::onSubmit @ 0x1403e620c", "SecretLayer2::onSubmit @ 0x1403e694a", "SecretLayer2::onSubmit @ 0x1403e6a77", "SecretLayer2::onSubmit @ 0x1403e6b01", "SecretLayer2::onSubmit @ 0x1403e6cb9", "SecretLayer2::onSubmit @ 0x1403e6cfb", "SecretLayer4::init @ 0x1403f052d", "SecretLayer4::onSubmit @ 0x1403f1440", "SecretLayer4::onSubmit @ 0x1403f179b", "SecretLayer4::onSubmit @ 0x1403f1f47", "SecretLayer4::onSubmit @ 0x1403f219d", "SecretLayer4::onSubmit @ 0x1403f21dc", "<???> @ 0x1406d7fa0"], "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"}