{"type": "func", "start": 4295651268, "end": 4295651388, "name": "GameLevelManager::pageFromCommentKey", "pseudocode": "// \n// GameLevelManager::pageFromCommentKey from 0x1000a6fc4 to 0x1000a703c (120 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onDeleteCommentCompleted @ 0x10008c6a8\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\nint __fastcall GameLevelManager::pageFromCommentKey(GameLevelManager *a1, const char *a2)\n{\n  __int64 v2; // x19\n  cocos2d::CCString *v3; // x0\n  const char *CString; // x0\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  sub_100009900(&__p, (char *)a2);\n  v2 = sub_100093338(&__p, \"_\");\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n  if ( (unsigned int)sub_10024A36C(v2) < 3 )\n    return 0;\n  v3 = (cocos2d::CCString *)sub_10024A388(v2, 2);\n  CString = cocos2d::CCString::getCString(v3);\n  return atoi(CString);\n}", "assembly": "; \n; GameLevelManager::pageFromCommentKey from 0x1000a6fc4 to 0x1000a703c (120 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onDeleteCommentCompleted @ 0x10008c6a8\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000a6fc4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000a6fc8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000a6fcc\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000a6fd0\nADD             X0, SP, #0x30+__p; int                                 ; +0x10, 0x1000a6fd4\nBL              sub_100009900                                          ; +0x14, 0x1000a6fd8\nADRL            X1, asc_1006B16FB; \"_\"                                 ; +0x18, 0x1000a6fdc\nADD             X0, SP, #0x30+__p                                      ; +0x20, 0x1000a6fe4\nBL              sub_100093338                                          ; +0x24, 0x1000a6fe8\nMOV             X19, X0                                                ; +0x28, 0x1000a6fec\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x2c, 0x1000a6ff0\nTBZ             W8, #0x1F, loc_1000A7000                               ; +0x30, 0x1000a6ff4\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x34, 0x1000a6ff8\nBL              __ZdlPv; operator delete(void *)                       ; +0x38, 0x1000a6ffc\nMOV             X0, X19                                                ; +0x3c, 0x1000a7000\nBL              sub_10024A36C                                          ; +0x40, 0x1000a7004\nCMP             W0, #3                                                 ; +0x44, 0x1000a7008\nB.CC            loc_1000A7028                                          ; +0x48, 0x1000a700c\nMOV             X0, X19                                                ; +0x4c, 0x1000a7010\nMOV             W1, #2                                                 ; +0x50, 0x1000a7014\nBL              sub_10024A388                                          ; +0x54, 0x1000a7018\nBL              cocos2d__CCString__getCString                          ; +0x58, 0x1000a701c\nBL              _atoi                                                  ; +0x5c, 0x1000a7020\nB               loc_1000A702C                                          ; +0x60, 0x1000a7024\nMOV             W0, #0                                                 ; +0x64, 0x1000a7028\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x1000a702c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x1000a7030\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x1000a7034\nRET                                                                    ; +0x74, 0x1000a7038", "xrefs": ["GameLevelManager::onDeleteCommentCompleted @ 0x10008c6a8"], "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"}