{"type": "func", "start": 5369345680, "end": 5369345764, "name": "CreateGuidelinesLayer::registerTouch", "pseudocode": "// \n// CreateGuidelinesLayer::registerTouch from 0x14009b690 to 0x14009b6e4 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140542980\n// > <???> @ 0x1406c74b8\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\nvoid CreateGuidelinesLayer::registerTouch(CreateGuidelinesLayer *a1)\n{\n  cocos2d::CCString *v2; // rax\n  char *CString; // rax\n  size_t v4; // r8\n\n  v2 = cocos2d::CCString::createWithFormat(\"%0.2f~0~\", a1->m_elapsed);\n  CString = (char *)cocos2d::CCString::getCString(v2);\n  v4 = -1;\n  do\n    ++v4;\n  while ( CString[v4] );\n  sub_140041270(&a1->m_guidelineString.m_data.m_bigStorage, CString, v4);\n}", "assembly": "; \n; CreateGuidelinesLayer::registerTouch from 0x14009b690 to 0x14009b6e4 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140542980\n; > <???> @ 0x1406c74b8\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\npush    rbx                                                            ; +0x0, 0x14009b690\nsub     rsp, 20h                                                       ; +0x2, 0x14009b692\nmovss   xmm1, dword ptr [rcx+2B0h]                                     ; +0x6, 0x14009b696\nmov     rbx, rcx                                                       ; +0xe, 0x14009b69e\ncvtps2pd xmm1, xmm1                                                    ; +0x11, 0x14009b6a1\nlea     rcx, a02f0; \"%0.2f~0~\"                                         ; +0x14, 0x14009b6a4\nmovq    rdx, xmm1                                                      ; +0x1b, 0x14009b6ab\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x20, 0x14009b6b0\nmov     rcx, rax                                                       ; +0x26, 0x14009b6b6\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x29, 0x14009b6b9\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x2f, 0x14009b6bf\ninc     r8; Size                                                       ; +0x36, 0x14009b6c6\ncmp     byte ptr [rax+r8], 0                                           ; +0x39, 0x14009b6c9\njnz     short loc_14009B6C6                                            ; +0x3e, 0x14009b6ce\nlea     rcx, [rbx+2C0h]; Src                                           ; +0x40, 0x14009b6d0\nmov     rdx, rax; void *                                               ; +0x47, 0x14009b6d7\nadd     rsp, 20h                                                       ; +0x4a, 0x14009b6da\npop     rbx                                                            ; +0x4e, 0x14009b6de\njmp     sub_140041270                                                  ; +0x4f, 0x14009b6df", "xrefs": ["<???> @ 0x140542980", "<???> @ 0x1406c74b8"], "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"}