{"type": "func", "start": 4297082180, "end": 4297082264, "name": "GJBaseGameLayer::getParticleKey2", "pseudocode": "// \n// GJBaseGameLayer::getParticleKey2 from 0x100204544 to 0x100204598 (84 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::createParticle @ 0x1002046c4\n// > GJBaseGameLayer::claimParticle @ 0x10020491c\n// > GJBaseGameLayer::unclaimParticle @ 0x100204acc\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_QWORD *__usercall GJBaseGameLayer::getParticleKey2@<X0>(const char *a1@<X1>, _QWORD *a2@<X8>)\n{\n  cocos2d::CCString *v3; // x0\n  char *CString; // x1\n\n  if ( a1[23] < 0 )\n    a1 = *(const char **)a1;\n  v3 = (cocos2d::CCString *)sub_100268F4C(\"%s%s\", a1, \"#2\");\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  return sub_100009900(a2, CString);\n}", "assembly": "; \n; GJBaseGameLayer::getParticleKey2 from 0x100204544 to 0x100204598 (84 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::createParticle @ 0x1002046c4\n; > GJBaseGameLayer::claimParticle @ 0x10020491c\n; > GJBaseGameLayer::unclaimParticle @ 0x100204acc\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, #0x30                                          ; +0x0, 0x100204544\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100204548\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10020454c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100204550\nMOV             X19, X8                                                ; +0x10, 0x100204554\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x100204558\nTBZ             W8, #0x1F, loc_100204564                               ; +0x18, 0x10020455c\nLDR             X1, [X1]                                               ; +0x1c, 0x100204560\nADRL            X8, a2_1; \"#2\"                                         ; +0x20, 0x100204564\nSTP             X1, X8, [SP,#0x20+var_20]                              ; +0x28, 0x10020456c\nADRL            X0, aSS_1; \"%s%s\"                                      ; +0x2c, 0x100204570\nBL              sub_100268F4C                                          ; +0x34, 0x100204578\nBL              cocos2d__CCString__getCString                          ; +0x38, 0x10020457c\nMOV             X1, X0; __s                                            ; +0x3c, 0x100204580\nMOV             X0, X19; int                                           ; +0x40, 0x100204584\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x100204588\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x10020458c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x100204590\nB               sub_100009900                                          ; +0x50, 0x100204594", "xrefs": ["GJBaseGameLayer::createParticle @ 0x1002046c4", "GJBaseGameLayer::claimParticle @ 0x10020491c", "GJBaseGameLayer::unclaimParticle @ 0x100204acc"], "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"}